Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jan 10, 2022
1 parent ddfdfbe commit ab680a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
pull_request:
release:
types: [published]

jobs:
doc:
Expand All @@ -13,7 +14,7 @@ jobs:
- run: python -m pip install -e .[doc]
- run: python doc/build.py
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/_build/html

0 comments on commit ab680a7

Please sign in to comment.