fix: utilise le header Authorization pour l'authentification API CleverCloud
This commit is contained in:
parent
273ba0c410
commit
25190b59dc
1 changed files with 1 additions and 2 deletions
|
|
@ -11,6 +11,5 @@ fi
|
||||||
|
|
||||||
curl -sf -X POST \
|
curl -sf -X POST \
|
||||||
"https://api-bridge.clever-cloud.com/v2/organisations/${CC_OWNER_ID}/applications/${APP_ID}/instances" \
|
"https://api-bridge.clever-cloud.com/v2/organisations/${CC_OWNER_ID}/applications/${APP_ID}/instances" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Authorization: Bearer ${REBUILD_API_TOKEN}" \
|
||||||
-d "{\"token\": \"${REBUILD_API_TOKEN}\"}" \
|
|
||||||
|| echo "Rebuild failed" >&2
|
|| echo "Rebuild failed" >&2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue