mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
27 lines
604 B
YAML
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@v5
|
|
|
|
# Install Python
|
|
- name: Setup Python
|
|
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.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
|