Skip to content

Commit

Permalink
update the workdlow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jun 29, 2024
1 parent f125a28 commit 5242d8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- xiaoyi_doc # Ensure this is the branch where you commit documentation updates
# workflow_dispatch: # Allows manual triggering of the workflow

permissions:
contents: write
Expand All @@ -31,9 +30,12 @@ jobs:
- name: Build documentation
run: |
sphinx-build -b html ./docs/source/ ./docs/build/
sphinx-build -b html ./docs/source/ ./docs/build/ -v
ls -l ./docs/build/ # List output files for debugging
- name: Create .nojekyll file
run: touch ./docs/build/.nojekyll

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 5242d8e

Please sign in to comment.