I currently have a frontend
and a backend
repo. Each has a simple and basic workflow to test, build and upload the built files to my AWS S3 and AWS ECR. I am comfortable with this current workflow but I wanted to complete my CI/CD pipeline so I also created an IaC repo that creates AWS resources and deploys the latest commit of my frontend
and backend
repos.
This is the flow for my GitHub Actions:
frontend
On push to master --> test --> build --> upload the build files to AWS S3 --> release
backend
On push to master --> test --> build --> upload image to AWS ECR --> release
My AWS CDK repo (IaC) is triggered manually by myself.
The missing part of my CI/CD pipeline is the trigger to my IaC when either my frontend
or backend
repo publishes/releases successfully.
I was thinking of either using AWS Codebuild or just doing it all on GitHub Actions (but I don't have a clue where to start).