:ok
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Successful in 22s Details

This commit is contained in:
JuruSysadmin 2026-01-08 11:25:10 -03:00
parent f354117208
commit bb4300ffdd
1 changed files with 2 additions and 7 deletions

View File

@ -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()