Document deployment setup in CLAUDE.md

This commit is contained in:
Graham McIntire 2026-02-17 14:31:25 -06:00
parent be9f97feb9
commit ab2099d16a
No known key found for this signature in database

View file

@ -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