
Ci Cd Pipelines
Define GitHub Actions pipelines with wrangler deploy, content validation gates, and progressive rollout for Workers-backed sites.
Install
npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill ci-cd-pipelinesWhat is this skill?
- GitHub Actions workflows with wrangler deploy to Cloudflare Workers
- HTML validation, internal link checks, and JSON-LD structured-data validation across large generated page matrices
- Lighthouse performance audits as release gates
- Progressive rollout: staging suite → production promote on green with wrangler rollback
- Preview deployments for pull requests before merge to main
Adoption & trust: 1 installs on skills.sh; 18 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Continuous integration and deployment is the Ship phase shelf because it turns merged code into production with explicit quality gates—not ideation or growth analytics. launch is the canonical subphase for progressive promote-to-production, staging validation, and rollback—not just unit tests in isolation.
Common Questions / FAQ
Is Ci Cd Pipelines safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Ci Cd Pipelines
# CI/CD Pipelines Part of [Agent Skills™](https://github.com/itallstartedwithaidea/agent-skills) by [googleadsagent.ai™](https://googleadsagent.ai) ## Description CI/CD Pipelines defines production-grade continuous integration and deployment workflows using GitHub Actions with wrangler deploy, link validation, HTML validation, and automated quality gates. This skill encodes the actual CI/CD patterns used by googleadsagent.ai™ to deploy Workers, validate 18,000+ pages of generated content, and maintain zero-downtime production releases. A CI pipeline is only as valuable as its gates. This skill goes beyond "run tests and deploy" to include HTML validation (no broken markup in generated pages), internal link checking (no dead links across the city × service matrix), structured data validation (JSON-LD schema compliance), and Lighthouse performance audits. Every merge to main triggers a cascade of validation steps that catch regressions before they reach production. The deployment pipeline implements progressive rollout: deploy to a staging environment first, run the full validation suite against staging, promote to production only on green, and maintain instant rollback capability via wrangler rollback. Preview deployments for pull requests give reviewers a live URL to test changes before approval. ## Use When - Setting up CI/CD for Cloudflare Workers or Pages projects - Adding HTML validation or link checking to a pipeline - Implementing progressive deployment with staging and production - Automating quality gates for content-heavy sites - Configuring preview deployments for pull requests - Building rollback capability into deployment workflows ## How It Works ```mermaid graph TD A[Push to Branch] --> B[GitHub Actions Trigger] B --> C[Install Dependencies] C --> D[Run Unit Tests] D --> E[Run Type Checking] E --> F{Branch?} F -->|PR| G[Deploy to Preview] F -->|main| H[Deploy to Staging] G --> I[Run Link Checker on Preview] H --> J[Run Full Validation Suite] J --> K[HTML Validation] J --> L[Link Checking] J --> M[JSON-LD Validation] J --> N[Lighthouse Audit] K --> O{All Green?} L --> O M --> O N --> O O -->|Yes| P[Promote to Production] O -->|No| Q[Block + Notify] I --> R[Comment PR with Preview URL] ``` The pipeline fans out for validation (HTML, links, JSON-LD, Lighthouse run in parallel) and gates on the aggregate result. Production promotion only occurs when all gates pass. ## Implementation ```yaml name: CI/CD Pipeline on: push: branches: [main] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: "20" } - run: npm ci - run: npx tsc --noEmit - run: npm test deploy-staging: needs: test if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: "20" } - run: npm ci - run: npx wrangler deploy --env staging env: CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }} validate: needs: deploy-staging runs-on: ubuntu-latest strategy: matrix: check: [html, links, jsonld, lighthouse] steps: - uses: actions/checkout@v4 - name: HTML Validation if: matrix.check == 'html' run: | npx html-validate "https://staging.googleadsagent.ai" \ --config .htmlvalidate.json - name: Link Checking if: matrix.check == 'links' run: | npx linkinator https://staging.googleadsagent.ai \ --recurse -