Merge pull request #133 from cgsdev0/badcop/update-follows #39
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: docs | |
on: | |
push: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
generate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install mkdocs | |
run: pip install mkdocs | |
- name: Generate docs | |
run: mkdocs build | |
- name: Store built docs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: mkdocs | |
path: site |