Update docs.yml
This commit is contained in:
1 parent
fa3791c781
commit
bce1405a60
1 file changed
+5
-14
@@ -21,9 +21,6 @@ jobs:
|
|||||||
doxyfile-path: './Doxyfile'
|
doxyfile-path: './Doxyfile'
|
||||||
working-directory: 'docs/doxygen'
|
working-directory: 'docs/doxygen'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Sphinx build
|
- name: Sphinx build
|
||||||
uses: ammaraskar/sphinx-action@0.4
|
uses: ammaraskar/sphinx-action@0.4
|
||||||
with:
|
with:
|
||||||
@@ -34,12 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: sphinx_files
|
name: sphinx_files
|
||||||
path: docs/sphinx/build
|
path: docs/sphinx/build
|
||||||
- name: ls
|
|
||||||
run: ls
|
|
||||||
- name: ls
|
|
||||||
run: ls docs/sphinx
|
|
||||||
- name: ls
|
|
||||||
run: ls docs/sphinx/build
|
|
||||||
|
|
||||||
deploy-main:
|
deploy-main:
|
||||||
if: github.ref == 'refs/heads/main' # Only deploy on 'main' branch
|
if: github.ref == 'refs/heads/main' # Only deploy on 'main' branch
|
||||||
@@ -72,17 +64,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: sphinx_files
|
name: sphinx_files
|
||||||
path: docs/sphinx
|
path: docs/sphinx
|
||||||
- name: ls
|
|
||||||
run: ls
|
|
||||||
- name: ls
|
- name: ls
|
||||||
run: ls docs/sphinx
|
run: ls docs/sphinx
|
||||||
- name: ls
|
|
||||||
run: ls docs/sphinx/build
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./html
|
publish_dir: docs/sphinx
|
||||||
publish_branch: gh-pages-dev # Specify the target branch (gh-pages-dev in this case)
|
publish_branch: gh-pages-dev # Specify the target branch (gh-pages-dev in this case)
|
||||||
destination_dir: docs/sphinx/build
|
destination_dir: docs/sphinx/build
|
||||||
Reference in new issue
Block a user