mirror of
https://github.com/expo/turtle.git
synced 2026-11-15 18:31:05 -10:00
18 lines
448 B
Bash
Executable File
18 lines
448 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eo pipefail
|
|
|
|
DEPLOY_ENDPOINT_URL="https://circleci.com/api/v1.1/project/github/expo/turtle-cli-example/tree/updates-do-not-remove-me"
|
|
|
|
curl -X POST \
|
|
--header "Content-Type: application/json" \
|
|
-u $CIRCLE_API_USER_TOKEN: \
|
|
-d '
|
|
{
|
|
"build_parameters": {
|
|
"CIRCLE_JOB": "update",
|
|
"TURTLE_TAG": "latest"
|
|
}
|
|
}' \
|
|
$DEPLOY_ENDPOINT_URL 2>/dev/null | jq -r .build_url
|