4

I just started using AWS CodeCommit and my workflow looks like this:

  1. Develop on laptop with local git repo
  2. Push changes to CodeCommit remote repo
  3. Run deploy script on EC2 instance that executes git clone

Is there a way to automatically run step 3 using Lambda/CodeDeploy/CodePipeline? The documentation suggests more complex use cases than the one I have.

A_B
  • 1,009
  • 3
  • 15
  • 37
  • Could you elaborate on what languages you're working with? If it's a SPA for example, it will only need CodeBuild -> S3. If it's a compiled language, you might need CodeBuild as well. – Tom Nijs Feb 19 '17 at 23:41
  • You might consider running the command using system manager as part of the build stage in pipeline where you can have two stage source and build in pipeline – Mech Jun 16 '20 at 16:38

0 Answers0