Skip to content

Commit 75b783a

Browse files
committed
And publish from master too
1 parent 9f490ab commit 75b783a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

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

0 commit comments

Comments
 (0)