Automatic Deployments: CodeBuild
Getting GitHub credentials, creating an S3 bucket for build artifacts, and telling CodeBuild to pull the changes from GitHub will be demonstrated in this lesson.
We'll cover the following...
Objective
- Automatically update our application when a change gets pushed to GitHub.
Steps
- Get GitHub credentials.
- Creating S3 bucket for build artifacts.
- CodeBuild to pull changes from GitHub.
In this section, we’re going to use CodeBuild, CodeDeploy, and CodePipeline so that our application gets updated automatically as soon as we push a change to GitHub.
GitHub access token #
We will need a GitHub access token to let CodeBuild pull changes from GitHub. To generate an access token, go to https://github.com/settings/tokens/new and ...