cours4.0/.forgejo/workflows/serve.yaml
2025-05-05 16:48:54 +02:00

23 lines
No EOL
548 B
YAML

on:
push:
branches:
- "main"
jobs:
serve:
runs-on: uv
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
- name: Execute code
run: uv run myst build --execute
- name: Build PDF exports
run: uv run myst build --execute --pdf
- name: Build static HTML
run: uv run myst build --execute --html
- name: Copy files
uses: actions/upload-artifact@v4
with:
name: srv
path: _build/html