update workflow
Some checks failed
Build and Deploy Notes / build (push) Failing after 9s

This commit is contained in:
Jay
2026-03-02 17:48:58 +00:00
parent e9df4a3814
commit ca5297b78f

View File

@@ -7,16 +7,22 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: squidfunk/mkdocs-material
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build - name: Build with MkDocs Material
run: | # This runs ONLY this step inside the mkdocs container
mkdocs build uses: docker://squidfunk/mkdocs-material:latest
with:
args: build
- name: Deploy to Web Folder - name: Deploy to Web Folder
run: | run: |
cp -R site/* /data/notes/ # Ensure the 'site' folder exists before copying
if [ -d "site" ]; then
cp -R site/* /data/notes/
else
echo "Error: site directory not found!"
exit 1
fi