Compare commits
No commits in common. "273ba0c4102e1c9f3cbeed14092a36ebb7ddb142" and "f7ab4d5f71b45c9e8f4e2ffbb6ec66ca05825be7" have entirely different histories.
273ba0c410
...
f7ab4d5f71
2 changed files with 0 additions and 19 deletions
|
|
@ -1,3 +0,0 @@
|
|||
[
|
||||
"0 23 * * * $ROOT/clevercloud/rebuild.sh"
|
||||
]
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/bash -l
|
||||
|
||||
if [[ "$INSTANCE_NUMBER" != "0" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -z "$REBUILD_API_TOKEN" ]]; then
|
||||
echo "REBUILD_API_TOKEN non défini" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -sf -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}\"}" \
|
||||
|| echo "Rebuild failed" >&2
|
||||
Loading…
Add table
Reference in a new issue