Add Webhook. (Will Autopull now if changes were made)
This commit is contained in:
parent
0d0231be62
commit
e4b9f73736
1 changed files with 4 additions and 0 deletions
4
webhook.php
Normal file
4
webhook.php
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
echo shell_exec('cd /home/vac');
|
||||
echo shell_exec('sudo git pull 2>&1');
|
||||
?>
|
Reference in a new issue