firts
This commit is contained in:
parent
c429e603d7
commit
a2c1ad60a1
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue