Skip to content

Commit

Permalink
fix docs try 6
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer authored Feb 3, 2025
1 parent 5efacb4 commit b344670
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Sphinx build
run: |
sphinx-build docs docs/_build
- uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/

# Deploy the artifact to GitHub pages.
# This is a separate job so that only actions/deploy-pages has the necessary permissions.
Expand All @@ -38,10 +41,9 @@ jobs:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to Github Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build
- id: deployment
uses: actions/deploy-pages@v3

0 comments on commit b344670

Please sign in to comment.