0

Help will greatly be appreciated, im unsure of what this would be caled so my google searching has been difficult. I have root access on my apache server.

Thanks in advance :)

1
  • Add a crontab to update your code if you want it to be automatic : crontab -e , then you write the command line to update your server. Commented Oct 20, 2013 at 11:55

1 Answer 1

1

What you are likely looking for are GitHub hooks: http://developer.github.com/v3/repos/hooks/

Basically with a GitHub hook you can have GitHub post a notification to any URL when something changes in your GitHub repo. Then you can write a bit of code that listens for these notifications and reacts accordingly.

In your case it sounds like "reacting accordingly" would be git pull-ing the latest code, maybe running some deployment scripts, etc.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.