Docs: Update references to reflect the transition from Caddy to Nginx
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 24s

This commit is contained in:
2026-03-25 03:53:31 +00:00
parent ac31ddbd14
commit 1144980295
2 changed files with 28 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ jobs:
# Build the site using dynamic environment variable overrides
HUGO_PARAMS_ARTICLE_EDITURL="https://git.wompmacho.com/wompmacho/docs-public/src/branch/main" hugo --minify --destination public
# Deploy to Caddy
# Deploy to Nginx Volume
mkdir -p /deploy/wiki
rm -rf /deploy/wiki/*
cp -r public/* /deploy/wiki/

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# Public Wiki Source (docs-public)
This repository exclusively contains the **Markdown content, static assets, and dynamic configuration overrides** for your public-facing wiki.
## 🏗️ Architecture
Your Wiki architecture is decoupled. This repository contains the text, but the `hugo-framework` repository contains the styling and engine (Blowfish).
### What lives here:
* `content/` (Optional: Just place your markdown files in the root instead)
* `static/` (Images, downloads, icons)
* `config/` (Dynamic overrides for the Top Navigation Menu: `menus.en.toml`)
* `.gitea/workflows/deploy.yaml` (The CI/CD pipeline script)
## 🚀 Deployment
Pushing changes to the `main` branch automatically triggers the Gitea Action.
The Runner:
1. Checks out this repository.
2. Clones the `hugo-framework`.
3. Injects your Markdown and the `menus.en.toml`.
4. Injects the "Edit Link" URL dynamically via Environment Variables (`HUGO_PARAMS_ARTICLE_EDITURL`).
5. Builds the site.
6. Deploys it directly to the Nginx web server volume at `/srv/caddy/sites/wiki`.
**Public URL:** `https://wiki.wompmacho.com`