Files
notes/.gitea/workflows/deploy.yaml
Jay 206688ab77
Some checks failed
Build Notes Site / build (push) Failing after 6s
remove workflow
2026-03-03 02:02:54 +00:00

33 lines
837 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build Notes Site
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
# Bigger container: Ubuntu with Python preinstalled
image: ubuntu:22.04
steps:
# 1⃣ Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4
# 2⃣ Install Python, pip, and MkDocs
- name: Setup Python and MkDocs
run: |
apt-get update
apt-get install -y python3 python3-pip git curl
pip3 install --upgrade pip
pip3 install mkdocs mkdocs-material pymdown-extensions
# 3⃣ Build MkDocs site to /public (mapped to Docker volume)
- name: Build MkDocs
run: mkdocs build --site-dir /public
# 4⃣ Verify output
- name: Verify output
run: ls -l /public