Deploy with Gitea Actions instead of Jenkins
Tests every push and pull request (tsc, unit tests); pushes to master build, prune dev dependencies and rsync dist/, src/, public/, node_modules/ and package.json over SSH as the Plesk subscription user, then restart Passenger via tmp/restart.txt. Only the app's own folders are mirrored with --delete; .env, logs/ and tmp/ in the app root are never touched. Optional smoke test via DEPLOY_SMOKE_URL. Same pattern as the calendar frontend; setup and what the deploy may touch are in docs/deployment.md. Also removes leftovers: bcrypt (unused since better-auth, and the only production dependency with a native build) and the SonarQube setup (sonar-project.properties, vitest-sonar-reporter). Checked locally: actionlint; in a clean node:26 container npm ci, tsc, 233 unit tests, build and prune; the pruned bundle started against a throwaway MariaDB (public feed, iCal, /docs, /admin/me); the upload step against a throwaway SSH server with .env, logs/ and tmp/ in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
7 files changed
+220
-772
No files matched your search
@@ -14,10 +14,6 @@ export default defineConfig({
|
||||
env: {
|
||||
FEEDBACK_IP_SALT: 'vitest-salt'
|
||||
},
|
||||
reporters: [
|
||||
'default',
|
||||
['vitest-sonar-reporter', {outputFile: 'testResults/sonar-report.xml'}]
|
||||
],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text-summary', 'lcov'],
|
||||
|
||||
Reference in new issue
Block a user