DCCLIP-917: Prepare release for 2.8.0. (#388) #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation - Deploy to gh-pages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install mkdocs requirements | |
run: pip install -r requirements.txt | |
working-directory: docs | |
- name: Publish documentation to gh-pages branch | |
run: mkdocs gh-deploy --force | |
working-directory: docs |