logsol / Github-Auto-Deploy

a server that allows you to automatically deploy the latest version of your github project at each git push
http://logsol.github.com/Github-Auto-Deploy/
MIT License
576 stars 187 forks source link

Use && rather than ; #2

Closed dAnjou closed 12 years ago

dAnjou commented 12 years ago

You should only execute git pull if you changed into the directory successfully; e.g. cd <path> && git pull.

logsol commented 12 years ago

You're right, thanks for the hint. I will update soon.