Settings

Theme

Automated Deployments Using GitHub Actions, AWS ECR, and Webhooks

overflowedminds.net

2 points by newlog 4 years ago · 1 comment

Reader

newlogOP 4 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection