name: Publish docs via GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1 | |
- name: Deploy docs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |