mirror of
https://github.com/MiSTer-devel/MkDocs_MiSTer.git
synced 2026-04-19 03:04:38 +00:00
34 lines
622 B
YAML
34 lines
622 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
PYTHON_VERSION: 3.x
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Build documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Python runtime
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
|
|
- name: Install Python Dependencies
|
|
run: |
|
|
pip install -r requirements.txt
|
|
|
|
- name: Deploy Documentation
|
|
run: |
|
|
mkdocs gh-deploy --force
|
|
mkdocs --version
|