Merge pull request #15 from VForWaTer/data_section #13
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: Build docs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
documentation: | |
name: Build and deploy specs to GH pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout and use lfs | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install mkdocs mkdocs-material | |
- name: Build the documentation | |
run: | | |
mkdocs build | |
- name: Upload to Github pages | |
uses: crazy-max/ghaction-github-pages@v1 | |
with: | |
target_branch: gh-pages | |
build_dir: site | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |