* chore(deploy): rename revampit infra references to evig The GitHub repo was renamed revamp-it -> evig a while back and the domain/Caddy layer already points at evig.orangecat.ch (with a 308 from the old revampit.orangecat.ch), but the self-host deploy pipeline was still targeting /opt/revampit and the revampit-app systemd unit. Renamed the deploy script, CI's throwaway fixture names, and the smoke-test default URLs to match. The systemd unit + /opt directory on the box were renamed to evig-app / /opt/evig directly, verified live (200 before and after). Left untouched: production database names/users (revampit_cms etc. in rollback-production.sh, monitoring-setup.sh, check-services.sh) and the revampit-cron@*.timer / revampit-backup units — those are a separate, higher-stakes rename. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * chore(deploy): point deploy pipeline + CI fixtures at evig, not revampit The GitHub repo was renamed revamp-it -> evig a while back and the domain/Caddy layer already points at evig.orangecat.ch (with a 308 from the old revampit.orangecat.ch), but the self-host deploy pipeline was still targeting /opt/revampit and the revampit-app systemd unit. Updates the deploy script's NAME var, CI's throwaway fixture names/emails, and the smoke-test default URLs to match. The systemd unit + /opt directory on the box were renamed to evig-app / /opt/evig directly, verified live (200 before and after, zero downtime). Left untouched: production database names/users (revampit_cms etc. in rollback-production.sh, monitoring-setup.sh, check-services.sh) and the revampit-cron@*.timer / revampit-backup units — those touch live data and a schedule (one timer looks like it releases escrow), so they're a separate, higher-stakes rename flagged for a deliberate go/no-go rather than folded in here. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * fix(docs): point deploy-script docs at the renamed evig script The rename to scripts/selfhost-deploy-evig.sh left 5 docs pointing at the old filename, tripping the docs-paths CI gate (stale count rose 68 -> 73). Fixed the references; net stale count actually fell to 65, so lowered the baseline in the same PR per the gate's own instruction. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * fix(ci): correct the docs-paths baseline back to 68 My previous commit set this to 65 based on a local run that was reading a dirty working tree (leftover untracked files were falsely satisfying 3 path checks). Verified against a truly clean clone of this branch: the real count, after the doc-path fixes, is 68 — unchanged from main, since this PR only touches the 5 revampit->evig references and leaves the pre-existing unrelated stale docs alone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG --------- Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2.7 KiB
GitHub Deployment Secrets (filename legacy)
Legacy — Vercel is no longer used for production (retired). See
deployment.mdfor the current GitHub Actions → Hetzner self-host deploy flow.The filename
github-vercel-setup.mdis now misleading — there is no Vercel integration anymore. This file is kept only to document the GitHub repo secrets the current self-host workflow needs.
Last Updated: 2026-06-19
Current setup: what you actually need
Production deploys run when you push to main, via the GitHub Actions
workflow .github/workflows/deploy-selfhost.yml, which builds and rsyncs a
Next.js standalone release to the Hetzner box (ubuntu@167.233.22.31) serving
https://revampit.orangecat.ch. Full details: deployment.md.
That workflow requires exactly two repository secrets:
| Secret | Purpose | Used by |
|---|---|---|
HETZNER_SSH_PRIVATE_KEY |
Private SSH key for ubuntu@167.233.22.31. |
"Setup SSH" step writes it to ~/.ssh/id_ed25519; used to rsync the release and run remote systemctl restart revampit-app. |
SELFHOST_ENV |
Full contents of .env.selfhost.local (multiline). |
"Write selfhost env" step writes it to disk so the build + deploy have the production environment. |
If either secret is missing or empty, the workflow logs a notice and exits without deploying.
How to set a GitHub repo secret
Dashboard: Repository → Settings → Secrets and variables → Actions → New
repository secret. Enter the name (e.g. HETZNER_SSH_PRIVATE_KEY) and paste
the value. Multiline values (like an SSH key or a full .env) paste fine.
GitHub CLI:
# Pipe a file's contents straight into a secret
gh secret set HETZNER_SSH_PRIVATE_KEY < /path/to/id_ed25519
gh secret set SELFHOST_ENV < /path/to/.env.selfhost.local
# List configured secrets (values are never shown)
gh secret list
After setting both, push to main (or re-run the latest workflow) to deploy.
Historical (Vercel, retired)
The project previously deployed via a GitHub → Vercel integration: importing the
repo in the Vercel dashboard, configuring environment variables in Vercel project
settings, and auto-deploying main (plus per-PR preview deployments) using a
vercel.json git config. The legacy revampit.vercel.app URL is retired and is
not the production app.
This approach is no longer used and should not be reintroduced. All
production deployment now goes through the self-host workflow described above and
in deployment.md.
Related
- Current deploy guide:
deployment.md - Workflow:
.github/workflows/deploy-selfhost.yml - Deploy script:
scripts/selfhost-deploy-evig.sh