Automated Deployments Using GitHub Actions, AWS ECR, and Webhooks(overflowedminds.net)
overflowedminds.net
Automated Deployments Using GitHub Actions, AWS ECR, and Webhooks
https://www.overflowedminds.net/writings/continuous-deployment-with-github-actions-and-webhook
On a merge to master, a GitHub Action is executed. This Action will build a new image of the webapp, and this new image will get pushed to AWS ECR, finally, a GitHub versioned release will be created. The creation of this new GitHub release will trigger the execution of a GitHub webhook which in turn will send a request to a webhook listening in the webserver, which will finally download the image from ECR and deploy it.