Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample deploy.php
<?php
// change to repo directory, run a git pull and echo the output
echo shell_exec("cd /your/repo/path/here && git pull");
die("done " . mktime());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.