diff --git a/.drone.yml b/.drone.yml index cbc4a3a0490..a3e13f5eb69 100644 --- a/.drone.yml +++ b/.drone.yml @@ -379,7 +379,7 @@ steps: - name: publish-storybook image: grafana/grafana-ci-deploy:1.2.5 commands: - - echo $${GCP_KEY} > /tmp/gcpkey.json + - echo "$${GCP_KEY}" > /tmp/gcpkey.json - gcloud auth activate-service-account --key-file=/tmp/gcpkey.json - echo gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/canary environment: diff --git a/scripts/lib.star b/scripts/lib.star index 7fca1ded214..e9f425c09a7 100644 --- a/scripts/lib.star +++ b/scripts/lib.star @@ -157,7 +157,7 @@ def init_steps(edition): }, }, 'commands': [ - 'git clone https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git', + 'git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"', 'cd grafana-enterprise', 'git checkout ${DRONE_COMMIT}', ], @@ -251,7 +251,7 @@ def publish_storybook_step(edition): }, }, 'commands': [ - 'echo $${GCP_KEY} > /tmp/gcpkey.json', + 'echo "$${GCP_KEY}" > /tmp/gcpkey.json', 'gcloud auth activate-service-account --key-file=/tmp/gcpkey.json', 'echo gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/canary', ],