diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d88c458a..13201504 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,7 +19,7 @@ jobs: sphinx-build doc _build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/docs' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}