I was creating a pipeline with a source as Codecommit and using CodePipeline to deploy code maintained in a CodeCommit repository to a single Amazon EC2 instance. Your pipeline is triggered when you push a change to the CodeCommit repository.
But while executing pipeline I am facing below error:-
Invalid action configuration
The action failed because no branch named master was found in the selected AWS CodeCommit repository MyDemoRepo. Make sure you are using the correct branch name, and then try again. Error: null
Can you please help me I this issue.
MyDemoRepo
master branch is missing – Amit Baranes