Files
notes/.gitea/workflows/deploy.yaml
Jay eaa9edf1b4
All checks were successful
Build and Deploy Notes / build (push) Successful in 17s
update workflow
2026-03-02 18:16:35 +00:00

31 lines
614 B
YAML

name: Build and Deploy Notes
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest # this will use your runner container
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python and MkDocs
run: |
apt-get update
apt-get install -y python3-pip
pip3 install --upgrade pip
pip3 install mkdocs-material
- name: Build site with MkDocs
run: |
mkdocs build
- name: Deploy to host-mounted folder
run: |
mkdir -p /notes
cp -R site/* /notes/