From d761e81c7b43191e7cc664c5a6749f2342d6b0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick=20Pruneau?= Date: Wed, 25 Feb 2026 13:16:27 -0500 Subject: [PATCH] added restart stack api request to force update to staging app --- .gitea/workflows/node-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/node-ci.yaml b/.gitea/workflows/node-ci.yaml index 28f9ee8..480e91e 100644 --- a/.gitea/workflows/node-ci.yaml +++ b/.gitea/workflows/node-ci.yaml @@ -100,6 +100,7 @@ jobs: docker login -u ${{ secrets.CI_USER }} -p ${{ secrets.CI_PASSWORD }} git.targo.ca docker push git.targo.ca/targo/targo-backend-staging:2.${VERSION_NUMBER} docker push git.targo.ca/targo/targo-backend-staging:latest + curl --location 'https://n8napi.targo.ca/webhook/portainer' --header 'Authorization: Basic ${{ secrets.API_SECRET}}' --form 'stack="new_targo_app_staging"' - name: Notify Google Chat if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps