added restart stack api request to force update to staging app

This commit is contained in:
Frédérick Pruneau 2026-02-25 13:16:27 -05:00
parent 7684b6ba2f
commit d761e81c7b

View File

@ -100,6 +100,7 @@ jobs:
docker login -u ${{ secrets.CI_USER }} -p ${{ secrets.CI_PASSWORD }} git.targo.ca 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:2.${VERSION_NUMBER}
docker push git.targo.ca/targo/targo-backend-staging:latest 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 - name: Notify Google Chat
if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps if: ${{ failure() }} # Use always to ensure that the notification is also send on failure of former steps