fix: add shebang to notify.sh (exec format error)

This commit is contained in:
Pi Agent
2026-09-02 15:10:51 +00:00
parent edc793e3aa
commit 00ad94242d
+2
View File
@@ -1,3 +1,5 @@
#!/bin/sh
BODY="{'text':$1}" BODY="{'text':$1}"
SIG=$(printf %s "$BODY" | openssl dgst -sha256 -hmac "a28b01dd9125753dc41945e4859b4e1007fa35305173451a" | awk '{print $2}') SIG=$(printf %s "$BODY" | openssl dgst -sha256 -hmac "a28b01dd9125753dc41945e4859b4e1007fa35305173451a" | awk '{print $2}')
curl -s -X POST http://127.0.0.1:8644/webhooks/gitea-deploy -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$BODY" curl -s -X POST http://127.0.0.1:8644/webhooks/gitea-deploy -H "Content-Type: application/json" -H "X-Hub-Signature-256: sha256=$SIG" -d "$BODY"