Permalink
Browse files

add hook file

  • Loading branch information...
1 parent d0d34fa commit b0a9ecd9b6eeaad261e73dae997179cc9f889ff0 @taylorlapeyre taylorlapeyre committed Apr 10, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 captainhook.php
View
7 captainhook.php
@@ -0,0 +1,7 @@
+<?php
+echo shell_exec('cd ..; ls');
+$output = shell_exec('cd ..; git pull');
+echo '<prev>'.$output.'</prev>';
+$output = shell_exec('cd ..; /var/lib/gems/1.8/bin/jekyll');
+echo '<prev>'.$output.'</prev>';
+?>

0 comments on commit b0a9ecd

Please sign in to comment.