This commit is contained in:
JuruSysadmin 2026-01-08 09:33:50 -03:00
parent c429e603d7
commit a2c1ad60a1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ jobs:
- name: Trigger Portainer Webhook - name: Trigger Portainer Webhook
if: success() if: success()
run: | run: |
RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "\n%{http_code}" -s -o /dev/null) RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "%{http_code}" -s -o /dev/null)
if [ "$RESPONSE" -eq 200 ] || [ "$RESPONSE" -eq 201 ]; then if [ "$RESPONSE" -eq 200 ] || [ "$RESPONSE" -eq 201 ]; then
exit 0 exit 0
else else