Skip to content

Commit

Permalink
setting autodoc deployment to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gbomarito committed Oct 29, 2024
1 parent 68cfb88 commit 8c63055
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Python 3.12
- name: Setup Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.12
python-version: "3.x"
- name: Install pandoc
run: |
sudo apt-get update
Expand All @@ -34,7 +34,7 @@ jobs:
sphinx-build -b html docs/source/ docs/build/html
- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html

0 comments on commit 8c63055

Please sign in to comment.