25 lines
484 B
YAML
25 lines
484 B
YAML
name: Build Notes Site
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:20-bookworm
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Python + MkDocs
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y python3 python3-pip
|
|
pip3 install -r ci/mkdocs/requirements.txt
|
|
|
|
- name: Build site into Docker volume
|
|
run: |
|
|
mkdocs build --clean --site-dir /public
|