We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40e7239 commit 1346e26Copy full SHA for 1346e26
deploy-versioned-docs.sh
@@ -2,11 +2,13 @@
2
3
set -e
4
5
+
6
# deploy to now the versioned docs site
7
FORCE_EXTRACT_REACT_TYPES=true yarn documentation:build
8
now --scope=uber-ui-platform --token=$ZEIT_NOW_TOKEN --public --no-clipboard deploy ./public > deployment.txt
9
deployment=`cat deployment.txt`
-cname="${BUILDKITE_TAG//./-}"
10
+version=$(echo $BUILDKITE_MESSAGE | cut -d' ' -f 2)
11
+cname="${version//./-}"
12
curl -X POST "https://api.cloudflare.com/client/v4/zones/$CF_ZONE_ID/dns_records" \
13
-H "Authorization: Bearer $CF_API_KEY" \
14
-H "Content-Type: application/json" \
0 commit comments