Hotfix/20142 trip match (#316) #96
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: Deploy docs | |
on: | |
push: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build_docs: | |
name: Build and deploy docs | |
runs-on: macos-12 | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Prepare dependencies | |
run: | | |
brew install sourcekitten | |
python --version | |
pip install --upgrade pip | |
pip install mkdocs | |
pip install pymdown-extensions | |
mkdocs --version | |
- name: Build docs | |
run: | | |
cd Scripts | |
./docs.sh | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |