From 0d1ecacd3ffba1e0075dce048f2f6214d36c2721 Mon Sep 17 00:00:00 2001 From: leon-morival Date: Sun, 30 Nov 2025 17:14:45 +0100 Subject: [PATCH] feat: try fix gitlab ci --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c45954..52684bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -105,11 +105,12 @@ deploy-to-portainer: '{name: $name, stackFileContent: $content, prune: true}') CREATE_RESP=$(curl -s -w "HTTPSTATUS:%{http_code}" \ - -X POST "$PORTAINER_URL/api/stacks?type=2&method=string&endpointId=$PORTAINER_ENDPOINT_ID" \ + -X POST "$PORTAINER_URL/api/stacks/create/standalone/string?endpointId=$PORTAINER_ENDPOINT_ID" \ -H "X-API-Key: $PORTAINER_API_KEY" \ -H "Content-Type: application/json" \ --data "$JSON_PAYLOAD") + CREATE_BODY=$(echo "$CREATE_RESP" | sed -e 's/HTTPSTATUS:.*//g') CREATE_STATUS=$(echo "$CREATE_RESP" | tr -d '\n' | sed -e 's/.*HTTPSTATUS://')