AWS CodeDeploy Action
Automatically deploy your applications to EC2 via CodeDeploy using this GitHub Action.
During our move from Jenkins to GitHub Actions for CI/CD we wanted a solution to deploy our applications to EC2 via CodeDeploy. This resulted in the development of this Bash-based action which offered the following features:
- Automatic creation (or re-use) of an archive of the project directory.
- Upload the archive to S3.
- Check for any pending deployments and wait for them to finish.
- Trigger a deployment to the specified CodeDeploy application and deployment group.
- Monitor the deployment until it is complete, with detailed output on the status of the deployment.
Over time, we've migrated more repositories towards ECS resulting in this action being less used. However, it is still a useful tool for those who prefer to use CodeDeploy for their deployments.
info
Find on GitHub at sourcetoad/aws-codedeploy-action