Add a deploy docs step to CI

This commit is contained in:
Christopher C. Wells 2022-05-28 13:13:38 -07:00
parent af8b2cc1bd
commit 8a4479be8f
1 changed files with 12 additions and 0 deletions

View File

@ -58,6 +58,18 @@ jobs:
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
deploy-docs:
name: Deploy docs
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# deploy:
# needs: test
# runs-on: ubuntu-latest