From c83b5f332530204a91dcbf785987e3d200d2ab79 Mon Sep 17 00:00:00 2001 From: Nicolas Capens Date: Wed, 10 Jan 2024 14:49:17 -0500 Subject: [PATCH] Fix the GitHub branch to build documentation from --- .github/workflows/sphinx.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 7f80e932..430312ff 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