Skip to content

Comment on Automated Deployments Using GitHub Actions, AWS ECR, and Webhooks

Comments

Basically, this post explains how to implement a workflow that allows to deploy a new version of a webapp on every merge to a master branch in a GitHub repository using GitHub Actions.

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.