[CI] Documentation fixup
This commit is contained in:
6
.github/workflows/documentation.yml
vendored
6
.github/workflows/documentation.yml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user