diff --git a/.gitea/workflows/init-stack.yaml b/.gitea/workflows/init-stack.yaml index 4068334..9cf0a46 100644 --- a/.gitea/workflows/init-stack.yaml +++ b/.gitea/workflows/init-stack.yaml @@ -44,7 +44,7 @@ jobs: echo $JSON_PAYLOAD # Update stack in Portainer (this redeploys it) - DEPLOY_RESPONSE=$(curl -X POST "$PORTAINER_API_URL/stacks/$STACK_ID?endpointId=$ENDPOINT_ID" \ + DEPLOY_RESPONSE=$(curl -X POST "$PORTAINER_API_URL/stacks/create/stangalone/file?endpointId=$ENDPOINT_ID" \ -H "X-API-Key: $PORTAINER_TOKEN" \ -H "Content-Type: application/json" \ --data "$JSON_PAYLOAD")