normally dont do this
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s

This commit is contained in:
ThaMunsta
2025-03-15 14:06:42 -04:00
parent 105f4531be
commit 22c3e3248c

View File

@@ -14,6 +14,7 @@ jobs:
PORTAINER_TOKEN: ${{ secrets.PORTAINER_API_KEY }}
PORTAINER_API_URL: https://portainer.dev.nervesocket.com/api
run: |
echo $STACK_NAME $PORTAINER_TOKEN $PORTAINER_API_URL
STACK_DATA=$(curl -s -H "X-API-Key: $PORTAINER_TOKEN" "$PORTAINER_API_URL/stacks" | jq -r ".[] | select(.Name==\"$STACK_NAME\") | {Id, EndpointId}")
STACK_ID=$(echo "$STACK_DATA" | jq -r ".Id")