:ok
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Successful in 22s
Details
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Successful in 22s
Details
This commit is contained in:
parent
f354117208
commit
bb4300ffdd
|
|
@ -52,15 +52,10 @@ jobs:
|
||||||
--push \
|
--push \
|
||||||
.
|
.
|
||||||
|
|
||||||
- name: Trigger Portainer Webhook
|
- name: Notificar Portainer via Webhook
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "%{http_code}" -s -o /dev/null)
|
curl -f -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}"
|
||||||
if [ "$RESPONSE" -eq 200 ] || [ "$RESPONSE" -eq 201 ]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue