From 766751f3faca81b7a8ffbd4a081521010a02a035 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 22 Dec 2023 20:27:59 +0100 Subject: [PATCH] .gitea/workflows/prod.yml aktualisiert --- .gitea/workflows/prod.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/prod.yml b/.gitea/workflows/prod.yml index 8abe656..d7c541c 100644 --- a/.gitea/workflows/prod.yml +++ b/.gitea/workflows/prod.yml @@ -36,6 +36,7 @@ jobs: chat_id: ${{ secrets.TG_CHAT_ID }} token: ${{ secrets.TG_TOKEN }} - - name: Trigger Stack Webhook + - name: Restart Keycloak run: | - curl -X POST https://docker.cantorgymnasium.de/api/stacks/webhooks/7f03c15f-dcf2-47cf-938e-6502b8520923 \ No newline at end of file + curl -X POST -H "X-API-KEY: ${{ secrets.PORTAINER_API_KEY }}" https://docker.cantorgymnasium.de/api/stacks/48/stop\?endpointId\=1 + curl -X POST -H "X-API-KEY: ${{ secrets.PORTAINER_API_KEY }}" https://docker.cantorgymnasium.de/api/stacks/48/start\?endpointId\=1 \ No newline at end of file