diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index a2f5da0..7a2f19b 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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/