Skip to content

Commit

Permalink
Add some diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpetros committed Mar 3, 2024
1 parent ebcdb6d commit 2a3a30b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/deploy.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php
$key = $_POST['key'] ?? false;
echo var_dump($_POST);
echo var_dump($key);
if ($key == "test") {
shell_exec("cd /var/www && git pull");
http_response_code(200);
Expand Down

0 comments on commit 2a3a30b

Please sign in to comment.