Files
homelab-docs-public/.gitea/workflows/deploy.yml
T
jallison0625 baf674b1be
build-and-deploy / build (push) Successful in 19s
first commit and build
2026-09-16 11:42:32 -04:00

21 lines
666 B
YAML

name: build-and-deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout (internal — bypasses Cloudflare)
run: |
git clone --depth 1 --branch "${{ github.ref_name }}" \
--config http.extraheader="Authorization: token ${{ github.token }}" \
"http://gitea:3000/${{ github.repository }}.git" .
- name: Install MkDocs Material
run: pip install --break-system-packages --ignore-installed -r requirements.txt
- name: Build and deploy
run: mkdocs build --strict --clean -d /srv/www/docs-public