Skill 3.4.6

Commit code to a repository to invoke build, test, and deployment actions

Key Concepts

A CodePipeline source action watches a repository branch through CodeConnections (or receives EventBridge events from CodeCommit), and each push starts a new execution. The source revision is passed as an artifact to CodeBuild, which runs the build and tests defined in buildspec.yml, and then to deploy actions such as CodeDeploy, CloudFormation, ECS or Elastic Beanstalk.

Pipeline V2 types support triggers filtered by branch, file path or Git tag, so for example only pushes to main, or only tags like v*, start a release. Builds can also run on pull requests to check changes before they are merged.