Skip to content

Commit

Permalink
deploy to gh pages with gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed May 9, 2024
1 parent d3a98f3 commit 3953b22
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,20 @@ jobs:
pip install --upgrade pip
pip install --requirement docs/requirements.txt
- name: Build documentation
run: mkdocs gh-deploy --force
run: mkdocs build
# To remove if not using github pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 3953b22

Please sign in to comment.