Skip to content

Commit

Permalink
Deploy using gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Aug 25, 2022
1 parent aedf478 commit 08df828
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,12 @@ jobs:
- run: tox -e docs
- uses: actions/upload-artifact@v3
with:
name: github-pages
name: documentation
path: html/

deploy:
name: Deploy to GitHub pages
needs: docs
runs-on: ubuntu-20.04
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- uses: JamesIves/[email protected]
if: ${{ inputs.publish }}
with:
branch: gh-pages
folder: html
single-commit: true
ssh-key: ${{ secrets.GH_PAGES_DEPLOY_KEY }}

0 comments on commit 08df828

Please sign in to comment.