Skip to content

Commit

Permalink
fixed github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameyanagi committed Jan 8, 2024
1 parent 4d5f2be commit b491b87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Docs
on: [push, pull_request]
permissions:
contents: write
contents: write
jobs:
docs:
runs-on: ubuntu-latest
Expand All @@ -14,12 +14,13 @@ jobs:
pip install -r requirements.txt
- name: Sphinx build
run: |
sphinx-build docs docs/_build
make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true
force_orphan: true

0 comments on commit b491b87

Please sign in to comment.