diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 7f80e9324..430312ffd 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -3,7 +3,7 @@ name: Deploy Sphinx documentation to Pages # Runs on pushes targeting the default branch on: push: - branches: [github-pages] + branches: [main] jobs: build: @@ -24,7 +24,7 @@ jobs: path: docs/_build/html/ - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/github-pages' + if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_build/html