feat: add Woodpecker CI + Gitea deployment templates
- .woodpecker.yml: full pipeline template (install → lint-fix → lint → test → deploy) - scripts/setup-project.sh: one-command VPS setup (user, dir, deploy, sudoers, systemd, nginx) - scripts/deploy.sh: deploy script template (rsync + npm ci + systemctl + health check) - scripts/ci-lint-fix.sh: ESLint auto-fix with [CI SKIP] commit-back - docs/ci-cd.md: complete CI/CD documentation and troubleshooting - .env.example: added WOODPECKER_TOKEN - DOCS.md: added CI/CD section Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
10
DOCS.md
10
DOCS.md
@@ -51,7 +51,11 @@ Technical index for developers and AI agents. Use this as the entry point to all
|
||||
- `docs/backend/security.md` — authN/Z, secret handling, webhook verification, audit/event logging.
|
||||
- `docs/backend/payment-flow.md` — payment integration (provider-agnostic template; single source of truth for payment flows and webhooks).
|
||||
|
||||
### 4) Examples (`/docs/examples`)
|
||||
### 4) CI/CD & Deployment
|
||||
|
||||
- `docs/ci-cd.md` — Woodpecker CI + Gitea setup, pipeline flow, deploy script, sudoers config, troubleshooting.
|
||||
|
||||
### 5) Examples (`/docs/examples`)
|
||||
|
||||
- `docs/examples/RECOMMENDATIONS-example.md` — filled-in example of `RECOMMENDATIONS.md` for a compliance classifier (Archetype C).
|
||||
|
||||
@@ -68,6 +72,10 @@ Technical index for developers and AI agents. Use this as the entry point to all
|
||||
- `package.json` — project metadata and Node.js engine requirement.
|
||||
- `.env.example` — environment variables template.
|
||||
- `.editorconfig` — editor formatting standards (indentation, line endings).
|
||||
- `.woodpecker.yml` — Woodpecker CI pipeline config (local backend).
|
||||
- `scripts/setup-project.sh` — Automated VPS setup for new projects (user, dir, deploy, sudoers, systemd, nginx).
|
||||
- `scripts/deploy.sh` — VPS deploy script template (rsync + npm ci + systemctl).
|
||||
- `scripts/ci-lint-fix.sh` — ESLint auto-fix with commit-back for CI.
|
||||
|
||||
## Agent Profiles (`/agents`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user