Update mkdocs.yml #71
Workflow file for this run
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 | |
jobs: | |
build-deploy: | |
name: Build and deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Set up Python 3 ⚙️ 🐍 | |
uses: actions/setup-python@v2 | |
- name: Cache dependencies 💾 | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
${{ runner.os }}- | |
- name: Install dependencies 🔧 | |
working-directory: docs | |
run: make install | |
- name: Build and deploy to GitHub Pages 🏗️ 🚀 | |
working-directory: docs | |
run: make deploy |