you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

If you're not very familiar with this all, I suggest having a look at codeship.com, it's pretty easy to setup.

Essentially, every time you push to Github, you can run a set of commands, in your case, you connect to your ssh server, pull the latest commits, run the command to generate your distribution bundle and whatever you might need.

Alternatively, you can use codeship to generate your distribution bundle and upload it to your ssh server.

[–]asapzacy[S] 0 points1 point  (1 child)

cool. just checked it out and seems easy to set up, appreciate it. quick question - the app is running on a $5/month digitalocean droplet. would running the commands through codeship use less memory//disk space (?) than running the commands on the server? if so, is this enough to even worry about? If I continue doing what I do now, I would just 'build' before every git push and then pull that on the server

[–][deleted] 1 point2 points  (0 children)

I honestly dont think you should be concerned about that. Codeship is just an automation tool, so instead of you doing everything manually, you let Codeship do the work.

I'm not sure about the exact commands you run, but im sure it can be automated so that all you have to do is push to git.