This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2023-09-02 23:10:21 +02:00
commit 2aef055057
Signed by: root
GPG key ID: 83A53A8C412E93F5
37 changed files with 975 additions and 0 deletions

13
webhook.php Normal file
View 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");