EternalAI/.gitea
chiguyong fc53fa2e58
Deploy EternalAI / deploy (push) Has been cancelled Details
ci: add CI/CD deployment scripts with PM2, Nginx, and auto-setup
- Add ecosystem.config.js for PM2 process management
- Add deploy/setup-server.sh for one-shot server initialization (auto-detects OS, installs Node.js 20/PostgreSQL 15/PM2/Nginx)
- Add deploy/deploy.sh for repeatable deployments (pull -> install -> migrate -> reload -> health check)
- Add deploy/nginx.conf reverse proxy template with security headers
- Rewrite .gitea/workflows/deploy.yml with full CI/CD pipeline (checkout -> build -> migrate -> deploy -> health check)
- Add .env.example template with DATABASE_URL/JWT_SECRET/PORT/ALLOWED_ORIGINS
- Add docs/deployment.md (full deployment guide) and docs/business-processes.md
- Update package.json scripts (db:generate, test:e2e, deploy)
- Add logs/ to .gitignore
2026-06-20 23:50:53 +08:00
..
workflows ci: add CI/CD deployment scripts with PM2, Nginx, and auto-setup 2026-06-20 23:50:53 +08:00