Created
December 16, 2014 17:54
-
-
Save joshtronic/884945a4fb3952a8e154 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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