25 lines
557 B
YAML
25 lines
557 B
YAML
name: Build Notes Site
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea/act_runner:latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Python + MkDocs
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y python3 python3-venv
|
|
python3 -m venv .venv
|
|
.venv/bin/pip install --upgrade pip
|
|
.venv/bin/pip install -r ci/mkdocs/requirements.txt
|
|
|
|
- name: Build site
|
|
run: .venv/bin/mkdocs build --clean --site-dir /public
|