Merge pull request #546 from etclabscore/dependabot/pip/tornado-6.3.2 #54
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: Publish docs via GitHub Pages | |
# Controls when the action will run. | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- mkdocs.yml | |
- docs/** | |
- requirements-mkdocs.txt | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install -r requirements-mkdocs.txt | |
- run: mkdocs gh-deploy --force |