2

I have multiple projects on Github and I need to release each project on same domain different paths when developer commit code changes.

Example:

I have Github repositories like below

  • CRM
  • CMS
  • Main-Website

currently, our website is like this

  • example.com/CRM
  • example.com/CMS
  • example.com --> is the Main-Website repository.

Please someone tell me how to do this in AWS using there services. Currently im doing this manually login to server and git pull

Thanks.

  • not sure this answer is what you are looking for - would e.g. Bamboo or Jenkins depoyoment routines suite your needs? – Peter Nov 16 '17 at 12:39
2

You may wish to try scripting the actions you want. Then use git hooks to trigger your scripts to release the latest code to your environment. Alternatively, you could use something like Jenkins to configure a "push on green" system if you are working with compiled code. Lastly, (though I haven't used them) Amazon claims that their CodePipeline product can do this (and perhaps CodeBuild can as well), though my personal preference is to keep things as generic as possible and avoid drinking Amazon's Kool-Aid in order to keep things portable. Like a drug dealer, the first hit may be free with Amazon, and things are great until they have you hooked and decide to jack up the price. Utilizing my own open source system ensures that I can easily take my ball and go to another cloud or home altogether (and host it myself) in the event that I need to make a rapid exit from Amazon's cloud and avoids lock-in.

  • This is not the answer I want, But what you told is true. :) – Kalana Perera Jul 14 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.