dms #1

Merged
jay merged 56 commits from dms into main 2026-03-24 20:14:09 +00:00
Showing only changes of commit 206688ab77 - Show all commits

View File

@@ -8,28 +8,25 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: squidfunk/mkdocs-material:latest # includes Python, pip, MkDocs Material # Bigger container: Ubuntu with Python preinstalled
image: ubuntu:22.04
steps: steps:
# 1⃣ Checkout the repository # 1⃣ Checkout the repository
- name: Checkout repository - name: Checkout repository
run: git clone $GITEA_REPOSITORY /github/workspace uses: actions/checkout@v4
# 2Optional: Install Node (only if you add JS plugins later) # 2Install Python, pip, and MkDocs
# - name: Install Node.js - name: Setup Python and MkDocs
# 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: | run: |
pip install -r requirements.txt || echo "No requirements.txt found, skipping" apt-get update
apt-get install -y python3 python3-pip git curl
pip3 install --upgrade pip
pip3 install mkdocs mkdocs-material pymdown-extensions
# 4️⃣ Build the MkDocs site # 3️⃣ Build MkDocs site to /public (mapped to Docker volume)
- name: Build MkDocs site - name: Build MkDocs
run: | run: mkdocs build --site-dir /public
mkdocs build --site-dir /public
# 5️⃣ List files to verify build # 4️⃣ Verify output
- name: Verify output - name: Verify output
run: ls -l /public run: ls -l /public