10 lines
277 B
Bash
Executable file
10 lines
277 B
Bash
Executable file
#!/bin/bash -l
|
|
|
|
if [[ "$INSTANCE_NUMBER" != "0" ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
curl -X POST \
|
|
"https://api-bridge.clever-cloud.com/v2/organisations/${CC_OWNER_ID}/applications/${APP_ID}/instances" \
|
|
-H "Content-Type: application/json" \
|
|
-d "{\"token\": \"${REBUILD_API_TOKEN}\"}"
|