Files
notes/.gitea/workflows/deploy.yaml
Jay 3c01d706d8
Some checks failed
Build Notes Site / build (push) Failing after 17s
Add docker file
2026-03-03 10:45:43 +00:00

27 lines
605 B
YAML

name: Build Notes Site
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:20-bookworm
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build docker image
run: |
docker build -t mkdocs-builder -f ci/mkdocs/Dockerfile ci/mkdocs
- name: Build MKDocs output into shared volume
run: |
docker run --rm \
-v "$PWD:/work" -w /work \
-v notes_public:/public \
mkdocs-builder \
mkdocs build --clean --site-dir /public