Add Gitea Actions CI/CD pipeline
Deploy / check (push) Successful in 9m45s
Deploy / build (push) Failing after 4s
Deploy / deploy (push) Has been skipped

Build and push images to the private registry, then deploy to the VPS by commit SHA with health check and rollback.
This commit is contained in:
2026-08-20 15:16:37 +02:00
parent 541e5c26c1
commit 4eef81fdfc
12 changed files with 4650 additions and 87 deletions
+31
View File
@@ -0,0 +1,31 @@
name: CI
# Pushes to main are covered by deploy.yaml, which runs this same check job
# before it builds an image.
on:
pull_request:
push:
branches-ignore:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run lint
# PLANS_PAGES is deliberately unset here: getPlanPages() falls back to an
# empty list, so the build succeeds without the secret and no pricing
# codes are exposed to a PR build.
- run: npm run build