yes
This commit is contained in:
commit
2aef055057
37 changed files with 975 additions and 0 deletions
13
webhook.php
Normal file
13
webhook.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
if(false && $_SERVER["HTTP_X_FORGEJO_EVENT"] != "push")
|
||||
exit;
|
||||
header("Content-Type: text/plain");
|
||||
|
||||
function sh($command) {
|
||||
exec($command.' 2>&1', $output, $return_var);
|
||||
return join("\n", $output);
|
||||
}
|
||||
|
||||
chdir("podmack");
|
||||
sh("git pull");
|
||||
echo sh("packwiz list");
|
||||
Loading…
Add table
Add a link
Reference in a new issue