echo curl response
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
ThaMunsta
2025-03-15 13:27:01 -04:00
parent 10389652c5
commit 06c1273ae7

View File

@@ -45,8 +45,12 @@ jobs:
echo $JSON_PAYLOAD
# Update stack in Portainer (this redeploys it)
curl -X PUT "$PORTAINER_API_URL/stacks/$STACK_ID" \
DEPLOY_RESPONSE=$(curl -X PUT "$PORTAINER_API_URL/stacks/$STACK_ID" \
-H "X-API-Key: $PORTAINER_TOKEN" \
-H "Content-Type: application/json" \
--data "$JSON_PAYLOAD"
--data "$JSON_PAYLOAD")
echo "Redeployed stack in Portainer. Response:"
echo $DEPLOY_RESPONSE
- run: echo "🍏 This job's status is ${{ job.status }}."