: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 \
|
||||
.
|
||||
|
||||
- name: Trigger Portainer Webhook
|
||||
- name: Notificar Portainer via Webhook
|
||||
if: success()
|
||||
run: |
|
||||
RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "%{http_code}" -s -o /dev/null)
|
||||
if [ "$RESPONSE" -eq 200 ] || [ "$RESPONSE" -eq 201 ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
curl -f -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}"
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Reference in New Issue