fix webhooks

This commit is contained in:
Joshua Seigler 2025-06-15 16:04:04 -04:00
parent 2ee1ebbdc3
commit 1748bd94b3

View file

@ -114,7 +114,7 @@ Also make sure to replace your execute-command lines with ones referencing your
[ [
{ {
"id": "update-pages", "id": "update-pages",
"execute-command": "su joshua /home/joshua/webhooks/update-pages.sh", "execute-command": "sudo -u joshua /home/joshua/webhooks/update-pages.sh",
"command-working-directory": "/var/www", "command-working-directory": "/var/www",
"pass-arguments-to-command": "pass-arguments-to-command":
[ [
@ -160,7 +160,7 @@ Also make sure to replace your execute-command lines with ones referencing your
}, },
{ {
"id": "remove-pages", "id": "remove-pages",
"execute-command": "su joshua /home/joshua/webhooks/remove-pages.sh", "execute-command": "sudo -u joshua /home/joshua/webhooks/remove-pages.sh",
"command-working-directory": "/var/www", "command-working-directory": "/var/www",
"pass-arguments-to-command": "pass-arguments-to-command":
[ [