From 9691ada4f19635122a5d095601bdcfcc3f32e5e7 Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 3 Mar 2026 01:56:54 +0000 Subject: [PATCH] remove workflow --- .gitea/workflows/deploy.yaml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ac1e4d6..b5dcd15 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,4 +1,4 @@ -name: Build MkDocs +name: Build Notes Site on: push: @@ -8,10 +8,28 @@ jobs: build: runs-on: ubuntu-latest container: - image: squidfunk/mkdocs-material - + image: squidfunk/mkdocs-material:latest # includes Python, pip, MkDocs Material steps: - - uses: actions/checkout@v4 + # 1️⃣ Checkout the repository + - name: Checkout repository + uses: actions/checkout@v4 - - name: Build site - run: mkdocs build --site-dir /public + # 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