Skip to content

Instantly share code, notes, and snippets.

@joshtronic
Created December 16, 2014 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshtronic/884945a4fb3952a8e154 to your computer and use it in GitHub Desktop.
Save joshtronic/884945a4fb3952a8e154 to your computer and use it in GitHub Desktop.
<?php
if (isset($_GET['secret']) && $_GET['secret'] == 'some-secret-key') {
// @todo integrate a sanity check against this:
// https://help.github.com/articles/what-ip-addresses-does-github-use-that-i-should-whitelist/
`git pull`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment