ci: setup Forgejo Actions CI and Dokploy deployment pipeline (#11) #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/issue-11-ci-cd-dokploy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements Issue #11: CI/CD Pipeline on Forgejo Actions with Docker & Dokploy Deployment.
Closes #11
Review: Issue 11 - CI/CD Pipeline on Forgejo Actions with Docker & Dokploy Deployment
Verdict: APPROVE
Five-Axis Review Summary
1. Correctness
next.config.tscorrectly setsoutput: "standalone". Verified thatpnpm buildgenerates.next/standalonewith self-containedserver.jsand standalone dependencies.node server.jsfrom.next/standalone; initialized cleanly on port 3009 without errors.base,deps,builder, andrunnerstages with unprivileged system usernextjs:nodejs(UID 1001)..forgejo/scripts/prune-container-tags.mjscorrectly protects the deploying commit SHA, ignores:latestand:buildcache, and prunes older commit SHAs via Forgejo Package API.2. Readability & Simplicity
ci.yml(reusable check) anddeploy.yml(CD pipeline).prune-container-tags.mjsis self-documenting and resilient.3. Architecture
cancel-in-progress: truefor PRs,falsefor deployments).mode=max).4. Security & Hardening
nextjs(UID 1001)..dockerignoreprevents accidental leaking of.env*,.git, or scratch artifacts into image context.5. Performance
actions/cache@v4.Ponytail Audit
Verification
vp check: All 86 files formatted; 0 lint errors, 0 type errors.next build: Standalone artifacts generated in.next/standalone..next/standalone/server.jssucceeded (Ready in 0ms).