Files
notes/.gitea/workflows/deploy.yaml
Jay 9691ada4f1
Some checks failed
Build Notes Site / build (push) Failing after 2s
remove workflow
2026-03-03 01:56:54 +00:00

36 lines
1013 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:
image: squidfunk/mkdocs-material:latest # includes Python, pip, MkDocs Material
steps:
# 1⃣ Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4
# 2⃣ Optional: Install Node (only if you add JS plugins later)
# - name: Install Node.js
# run: |
# curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
# apt-get install -y nodejs
# 3⃣ Install any Python dependencies (optional if you have extra plugins)
- name: Install Python dependencies
run: |
pip install -r requirements.txt || echo "No requirements.txt found, skipping"
# 4⃣ Build the MkDocs site
- name: Build MkDocs site
run: |
mkdocs build --site-dir /public
# 5⃣ List files to verify build
- name: Verify output
run: ls -l /public