Deploy with Gitea Actions instead of Jenkins
Tests every push and pull request (lint, typecheck, Vitest, production build); pushes to master build the standalone bundle in the runner and rsync it over SSH as the subscription user into the subdomain's Plesk folder, then restart Passenger via tmp/restart.txt. No mounted host paths; rsync --delete leaves tmp/ and .well-known/ alone. Optional smoke test once DEPLOY_SMOKE_URL is set. Setup (deploy key, pinned host key, Gitea secrets and variables, Plesk Node.js settings) and the switchover order are in docs/deployment.md. Checked locally with actionlint and against a throwaway SSH server, which also caught "~" in the rsync -e string resolving to the wrong home. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
5 files changed
+285
-54
No files matched your search
@@ -25,7 +25,7 @@ npm test # Vitest, pure logic in lib/ (runs with TZ=America/New_York o
|
||||
- [docs/features.md](docs/features.md) - what the app does
|
||||
- [docs/gotchas.md](docs/gotchas.md) - read before assuming how the API, Next or Base UI behaves
|
||||
- [docs/api-wishlist.md](docs/api-wishlist.md) - API changes this app would like
|
||||
- [docs/deployment.md](docs/deployment.md) - Plesk build/run, switchover, rollback
|
||||
- [docs/deployment.md](docs/deployment.md) - Gitea Actions workflow (`.gitea/workflows/deploy.yml`), Plesk setup, switchover, rollback
|
||||
- [docs/rewrite-plan.md](docs/rewrite-plan.md) - the Angular → Next rewrite: decisions and progress log
|
||||
|
||||
## Architecture
|
||||
|
||||
Reference in new issue
Block a user