Skip to content

Commit

Permalink
fixing docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Isken committed Apr 14, 2023
1 parent 292ef9b commit 10fd02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
sphinx-build doc/source _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# Or?: if: "startsWith(github.ref, 'refs/tags/')"
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
if: "startsWith(github.ref, 'refs/tags/')"
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 10fd02c

Please sign in to comment.