6

How do you guys push changes to you server. ?

I am currently pushing changes to my git repo then pulling those changes on server where I am running the application in production.

I am planning to set up a simple server, to which I will push the changes and it push the changes to the server's running in production.
Or better would be to write a script and run on production servers that will check github for changes

Comments
  • 8
    i create a release in github, github sends a message to our CI which fetches the code, builds docker images for it, runs all tests and if everything passes it deploys the new version. We also automatically build and test (but don't deploy) all pull requests (merging is not possible unless the tests pass)
  • 5
    As Itsnotmyfault said. We use Jenkins.
  • 2
    If you want to try that script idea take a look at github webhooks.

    But you should try some CI solution, like Jenkins.

    I used to do git pull to update servers, too, but then changed to that.
Add Comment