Initial commit: setup public docs and pipeline
Some checks failed
deploy-docs / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-03-24 23:03:18 +00:00
commit 748b4149bd

View File

@@ -0,0 +1,23 @@
name: deploy-docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout Docs Source
uses: actions/checkout@v4
- name: Sync Markdown to Hugo Content
run: |
# Sync only the markdown files and assets to the Hugo content folder
# Exclude the .gitea directory
rsync -av --delete --exclude '.gitea' --exclude '.git' ./ /srv/dev/hugo/wiki/content/
- name: Build Hugo Site
run: |
cd /srv/dev/hugo/wiki
/usr/bin/hugo --destination /srv/caddy/sites/wiki --cleanDestinationDir