teste
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Successful in 4m52s
Details
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Successful in 4m52s
Details
This commit is contained in:
parent
0e57904218
commit
b26fc3b6f3
|
|
@ -4,6 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
|
@ -55,6 +56,10 @@ jobs:
|
|||
- name: Notificar Portainer via Webhook
|
||||
if: success()
|
||||
run: |
|
||||
if [ -z "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" ]; then
|
||||
echo "Error: PORTAINER_WEBHOOK_FRONT secret is not set."
|
||||
exit 1
|
||||
fi
|
||||
echo "Notificando Portainer para atualizar o container..."
|
||||
curl -f -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" \
|
||||
--max-time 30 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue