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