Reputation: 4941
Since the code pipeline does not support git tag-based triggers natively, what's the best way to control what commit should be deployed using code pipeline/code build, in case we do not want to deploy the head of the branch?
Upvotes: 0
Views: 140
Reputation: 36
I noticed a article about "Customizing triggers for AWS CodePipeline with AWS Lambda and Amazon CloudWatch Events". Hopefully, it can help you.
However, the solution in the article maybe a little complex.
If your source code is stored in a GitHub or Bitbucket repository. You may try to create a custom webhook with some filters as you like, please refer to this link for details about creating webhook.
Upvotes: 1