Files
evig/docs/archive/guides/github-vercel-setup.md
CatoandClaude Opus 5.5 e5e43e9444 chore: delete orphaned upcycling code, unused CMS packages, archive retired guides (#575)
* chore: delete orphaned Monitor-Upcycling config, status data and business-plan scripts

The /projects/upcycling pages and businessPlan messages were removed earlier.
Their config (upcycling-routes/-assets/-evidence), status data, the status
helpers, the tests that only covered them, the three businessplan scripts and
the i18n:businessplan script were referenced by nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

* chore: delete unused ai-native-cms packages and nextjs-basic example

Neither package was a pnpm workspace member, a dependency, a tsconfig path or
imported anywhere; the lockfile has only the root importer, so it is
unchanged. Drop the now-pointless examples/ ignore entries too. packages/saldo
stays, so the packages/ ignores stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

* docs: archive retired deploy, hosting and CMS guides

github-vercel-setup duplicated the secrets section of deployment.md under a
Vercel name; hosting-migration-frauenfeld planned a move that is done;
migration (Strapi) and the cms-solution and system-integration tombstones
describe setups that no longer exist. Point deployment.md at its own secrets
section instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:27:23 +02:00

2.7 KiB

GitHub Deployment Secrets (filename legacy)

Legacy — Vercel is no longer used for production (retired). See deployment.md for the current GitHub Actions → Hetzner self-host deploy flow.

The filename github-vercel-setup.md is 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://evig.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 evig-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.


  • Current deploy guide: deployment.md
  • Workflow: .github/workflows/deploy-selfhost.yml
  • Deploy script: scripts/selfhost-deploy-evig.sh