From b708d74093183578cba351b8c34c45302ccf778e Mon Sep 17 00:00:00 2001 From: Pudong Zheng Date: Fri, 26 Apr 2024 17:00:08 +0000 Subject: [PATCH] fix --- dev/preview/workflow/preview/deploy-gitpod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/preview/workflow/preview/deploy-gitpod.sh b/dev/preview/workflow/preview/deploy-gitpod.sh index 58d33aca6be6d6..2ab11dfea35410 100755 --- a/dev/preview/workflow/preview/deploy-gitpod.sh +++ b/dev/preview/workflow/preview/deploy-gitpod.sh @@ -382,7 +382,7 @@ yq w -i "${INSTALLER_CONFIG_PATH}" 'experimental.workspace.classes.g1-small.temp # includeAnalytics # if [[ "${GITPOD_ANALYTICS}" == "segment" ]]; then - GITPOD_ANALYTICS_SEGMENT_TOKEN="$(gcloud secrets versions access latest --secret="segment-staging-write-key" --project=${PREVIEW_GCP_PROJECT} "segment-staging-write-key")" + GITPOD_ANALYTICS_SEGMENT_TOKEN="$(gcloud secrets versions access latest --secret="segment-staging-write-key" --project=${PREVIEW_GCP_PROJECT})" if [[ -z "${GITPOD_ANALYTICS_SEGMENT_TOKEN}" ]]; then echo "GITPOD_ANALYTICS_SEGMENT_TOKEN is empty" exit 1