More refinements
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
2026-01-31 12:44:34 -03:00
parent a508d1537e
commit e7c61152d4
5 changed files with 21 additions and 49 deletions

View File

@@ -104,10 +104,8 @@ mifi-ventures-landing/
│ ├── devcontainer.json # Dev container config (extensions)
│ └── Dockerfile # Dev container image (Node)
├── .woodpecker/ # CI/CD pipelines (see below)
│ ├── lint.yaml # install + lint (runs on PR, main, manual)
── build.yaml # build (after lint)
│ ├── test.yaml # test (after lint + build)
│ └── deploy.yaml # Docker → push → webhook (main only, after lint/build/test)
│ ├── ci.yaml # one clone/workspace: install lint → build → test
── deploy.yaml # Docker → push → webhook (main only, after ci)
├── Dockerfile # Production container (nginx:alpine)
├── nginx.conf # nginx web server configuration
├── svelte.config.js # SvelteKit config (adapter-static)
@@ -142,10 +140,10 @@ mifi-ventures-landing/
### Pipeline Overview
Woodpecker uses four workflows (`.woodpecker/lint.yaml`, `build.yaml`, `test.yaml`, `deploy.yaml`):
Woodpecker uses two workflows (`.woodpecker/ci.yaml`, `deploy.yaml`):
- **Pull requests** (and **push/tag/manual on main**): Run **lint****build****test** in order (shared workspace). No Docker or deploy on PRs.
- **Push to main** (or tag / manual on main): After lint, build, and test succeed, **deploy** runs:
- **Pull requests** (and **push/tag/manual on main**): **ci** runs install → lint → build → test in one workspace (one clone, one install). No Docker or deploy on PRs.
- **Push to main** (or tag / manual on main): After ci succeeds, **deploy** runs:
1. **Build** — Builds Docker image tagged with commit SHA + `latest`
2. **Push** — Pushes images to private Docker registry