update config #1
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
# Workflow to build and deploy docs on GitHub Pages. | |
# Author: Just van den Broecke - 2021 | |
# | |
name: Docs Deploy ⚙️ | |
# Trigger only when services/docs subdir changed | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
defaults: | |
run: | |
working-directory: docs | |
jobs: | |
build: | |
name: Build and Deploy Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install requirements 📦 | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Deploy 📦 | |
run: mkdocs gh-deploy --force -m 'Update website via GH Action' |