Files
notes/.gitea/workflows/deploy.yaml
Jay ca5297b78f
Some checks failed
Build and Deploy Notes / build (push) Failing after 9s
update workflow
2026-03-02 17:48:58 +00:00

29 lines
661 B
YAML

name: Build and Deploy Notes
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build with MkDocs Material
# This runs ONLY this step inside the mkdocs container
uses: docker://squidfunk/mkdocs-material:latest
with:
args: build
- name: Deploy to Web Folder
run: |
# 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