Skip to content

Merge pull request #436 from fultonj/OSPRH-11240 #285

Merge pull request #436 from fultonj/OSPRH-11240

Merge pull request #436 from fultonj/OSPRH-11240 #285

Workflow file for this run

---
name: Build Docs
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# this fetches all branches. Needed because we need
# gh-pages branch for deploy to work
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install MkDocs
run: pip install -r docs/doc_requirements.txt
- name: Publish docs
run: |
git config user.name github-actions
git config user.email [email protected]
mkdocs gh-deploy --force --clean --verbose