Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-05-27 11:44:29 +0300
committerGitHub <noreply@github.com>2018-05-27 11:44:29 +0300
commit976aad0059a22ec1251646a1b4a9f3454c7aed64 (patch)
tree5054cd412494f10cc0ed6fbc66153b455170830d /build
parentc2b13b9c7851d62d3072989552a784e6c598580b (diff)
Remove the unused docs upload preview stuff. (#26599)
Diffstat (limited to 'build')
-rwxr-xr-xbuild/upload-preview.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/build/upload-preview.sh b/build/upload-preview.sh
deleted file mode 100755
index 320a0af06b..0000000000
--- a/build/upload-preview.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-# Upload built docs to preview.twbsapps.com
-
-# Add build metadata to version
-sed -i "/^current_version:/ s/\$/+pr.${TRAVIS_COMMIT}/" _config.yml
-bundle exec jekyll build --destination "$TRAVIS_COMMIT" --baseurl "/c/${TRAVIS_COMMIT}"
-
-openssl aes-256-cbc -K "${encrypted_2b749c8e6327_key:?}" -iv "${encrypted_2b749c8e6327_iv:?}" -in build/gcp-key.json.enc -out build/gcp-key.json -d
-gcloud auth activate-service-account "$GCP_SERVICE_ACCOUNT" --key-file build/gcp-key.json &> /dev/null || (echo 'GCP login failed!'; exit 1)
-
-echo "Uploading to http://preview.twbsapps.com/c/${TRAVIS_COMMIT} ..."
-time gsutil -q -m cp -z html,css,js,svg -r "./${TRAVIS_COMMIT}" gs://preview.twbsapps.com/c/
-echo 'Done.'