diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index a7c07fa9e..be5753ca4 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -14,7 +14,7 @@ jobs: sphinx-build doc/source doc/build - name: Deploy 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/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}