summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorDan Swick <dan.swick@gmail.com>2019-09-18 12:44:18 -0700
committerGitHub <noreply@github.com>2019-09-18 12:44:18 -0700
commit8bbc4a217831be34ffa72993956fd5b46efd0a75 (patch)
tree697cf276a43ae4c18c0ad7029c00e7d771448822 /platform
parent8805defe57aa0d8886c7828d39b1b9b1f17f21b8 (diff)
downloadqtlocation-mapboxgl-8bbc4a217831be34ffa72993956fd5b46efd0a75.tar.gz
[android, build] Generalize docs deployment script and add Android docs deployment to circle config (#15299)
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/ios/scripts/trigger-external-deploy-steps.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/platform/ios/scripts/trigger-external-deploy-steps.sh b/platform/ios/scripts/trigger-external-deploy-steps.sh
deleted file mode 100755
index c1ee7c783f..0000000000
--- a/platform/ios/scripts/trigger-external-deploy-steps.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-
-set -euo pipefail
-
-function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
-function finish { >&2 echo -en "\033[0m"; }
-trap finish EXIT
-
-SDK_FLAVOR=${SDK_FLAVOR:-"maps"}
-
-step "Triggering automated site and documentation generation for ${SDK_FLAVOR} SDK ${VERSION_TAG}"
-
-request_body="{
- \"request\": {
- \"message\": \"[${SDK_FLAVOR}] ${VERSION_TAG} automated site and documentation generation\",
- \"config\": {
- \"merge_mode\": \"deep_merge\",
- \"env\": {
- \"SDK_FLAVOR\": \"${SDK_FLAVOR}\",
- \"RELEASE_TAG\": \"${VERSION_TAG}\"
- }
- }
- }
-}"
-
-step "Making request…"
-
-curl -s -X POST \
- -H "Content-Type: application/json" \
- -H "Accept: application/json" \
- -H "Travis-API-Version: 3" \
- -H "Authorization: token ${TRAVISCI_API_TOKEN}" \
- -d "${request_body}" \
- https://api.travis-ci.com/repo/mapbox%2Fios-sdk/requests