Files
matchbox/.github/workflows/mkdocs-pages.yaml
2024-08-29 14:01:36 +00:00

27 lines
604 B
YAML

name: mkdocs-pages
on:
workflow_call:
jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
# Checkout repo to GitHub Actions runner
- name: Checkout
uses: actions/checkout@v4
# Install Python
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
# Install PyPI packages
- name: Dependencies
run: pip install -r requirements.txt
# Push to GitHub Pages
- name: Push Docs
run: |
mkdocs gh-deploy --force