Skip to content

Commit

Permalink
Merge pull request #11 from Bayer-Group/pagestest
Browse files Browse the repository at this point in the history
Update sphinx.yml
  • Loading branch information
sprivite authored Jan 5, 2024
2 parents 68a32f6 + 9df6e31 commit 0acb37c
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy Pages

permissions:
contents: read
contents: write
pages: write
id-token: write

Expand Down Expand Up @@ -29,26 +29,9 @@ jobs:
- name: build docs
run: |
PYTHONPATH=. PATH=${PATH}:./pandoc-2.17.1/bin/ sphinx-build -b html sphinx docs
- uses: actions/upload-artifact@v4
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
name: page
path: docs

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

steps:
- uses: actions/download-artifact@master
with:
name: page
path: .
- uses: actions/configure-pages@v1
- uses: actions/upload-pages-artifact@v1
with:
path: .
- id: deployment
uses: actions/deploy-pages@main
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit 0acb37c

Please sign in to comment.