[CI] Documentation fixup

This commit is contained in:
Philippe Tillet
2022-04-07 09:42:03 -07:00
parent 9f08ecd684
commit 6424771f55

View File

@@ -18,6 +18,11 @@ jobs:
with: with:
ref: 'gh-pages' ref: 'gh-pages'
- name: Clear docs
run: |
rm -r /tmp/triton-docs
continue-on-error: true
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@v1 uses: actions/checkout@v1
@@ -31,7 +36,6 @@ jobs:
run: | run: |
git branch git branch
# update docs # update docs
rm -r /tmp/triton-docs;
mkdir /tmp/triton-docs; mkdir /tmp/triton-docs;
mv docs/_build/html/* /tmp/triton-docs/ mv docs/_build/html/* /tmp/triton-docs/
git checkout gh-pages git checkout gh-pages