Files
notes/.gitea/workflows/deploy.yaml
Jay 4ceb357291
Some checks failed
Build Notes Site / build (push) Failing after 5s
Add docker file
2026-03-03 10:44:18 +00:00

27 lines
602 B
YAML

name: Build Notes Site
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker:26-cli
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