Skip to content

Commit

Permalink
add a github action to automatically deploy the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielT committed Sep 18, 2023
1 parent 887cb47 commit 61de75e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/Pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy API Docs to Github Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs
- run: mkdocs gh-deploy --force --clean --verbose
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 61de75e

Please sign in to comment.