Document deployment setup in CLAUDE.md
This commit is contained in:
parent
be9f97feb9
commit
ab2099d16a
1 changed files with 11 additions and 0 deletions
11
CLAUDE.md
11
CLAUDE.md
|
|
@ -22,6 +22,17 @@ This is a standard Zola project:
|
||||||
- **`static/`** - Static assets served as-is (images, fonts, etc.).
|
- **`static/`** - Static assets served as-is (images, fonts, etc.).
|
||||||
- **`themes/`** - Zola themes (if using one).
|
- **`themes/`** - Zola themes (if using one).
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
- CI/CD via Forgejo Actions at `git.mcintire.me`
|
||||||
|
- Workflow: `.forgejo/workflows/deploy.yml`
|
||||||
|
- Triggers on push to `main`: builds with Zola, deploys via rsync over SSH
|
||||||
|
- Deploy target: `graham@skippy.w5isp.com:/home/graham/apps/w5isp.com/`
|
||||||
|
- Caddy serves the site from that directory
|
||||||
|
- Requires `DEPLOY_SSH_KEY` secret in Forgejo repo settings (ed25519 private key)
|
||||||
|
- Theme (`themes/zolanight`) is a git submodule — checkout needs `submodules: true`
|
||||||
|
- Zola version in workflow must match `zola.toml` format (0.22.1+, since older versions expect `config.toml`)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
- Sass compilation: enabled
|
- Sass compilation: enabled
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue