Skip to content

Commit

Permalink
And publish from master too
Browse files Browse the repository at this point in the history
  • Loading branch information
rbtcollins committed Jul 20, 2024
1 parent 9f490ab commit 79599e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Deploy Book
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.event_name == 'push' && startsWith('refs/heads/main', github.ref) }}
if: ${{ github.event_name == 'push' && (startsWith('refs/heads/main', github.ref) || startsWith('refs/heads/master', github.ref)) }}
with:
branch: gh-pages
folder: doc/book/
Expand Down

0 comments on commit 79599e0

Please sign in to comment.