Skip to content

Commit

Permalink
Fix the GitHub branch to build documentation from
Browse files Browse the repository at this point in the history
  • Loading branch information
c0d1f1ed committed Jan 10, 2024
1 parent 3e80b90 commit c83b5f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit c83b5f3

Please sign in to comment.