| name | cd-pipeline-generator |
| description | Generate GitHub Actions deployment workflows for automated deployment to staging and production environments on cloud platforms (AWS, GCP, Azure). Use when setting up continuous deployment pipelines, creating deployment automation, or configuring multi-environment deployment strategies. Includes templates for environment-specific deployments with approval gates, secrets management, and rollback capabilities. |
CD Pipeline Generator
Overview
Generate production-ready GitHub Actions deployment workflows that automate deployments to staging and production environments with environment protection rules, approval gates, and secrets management.
Workflow
1. Identify Deployment Target
Determine the cloud platform and deployment method:
- AWS: ECS, Elastic Beanstalk, EC2, Lambda
- GCP: Cloud Run, App Engine, Compute Engine, Cloud Functions
- Azure: App Service, Container Instances, Functions
2. Select Template
Use the appropriate template from assets/ based on cloud platform:
deploy-aws.yml - AWS deployments (ECS, Elastic Beanstalk, Lambda)
deploy-gcp.yml - GCP deployments (Cloud Run, App Engine)
deploy-azure.yml - Azure deployments (App Service, Container Instances)
3. Configure Environments
Set up GitHub environment protection rules for staging and production:
Staging environment:
- Auto-deploy on merge to main/master
- No approval required
- Use staging secrets and variables
Production environment:
- Manual approval required
- Deploy on workflow_dispatch or tag push