Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Apr 26, 2024
1 parent 9714912 commit 22dae4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/preview/workflow/preview/deploy-gitpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22dae4e

Please sign in to comment.