mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Drone: Use base64 encoded GCP key (#26438)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -251,7 +251,7 @@ def publish_storybook_step(edition):
|
||||
},
|
||||
},
|
||||
'commands': [
|
||||
'echo "$${GCP_KEY}" > /tmp/gcpkey.json',
|
||||
'printenv GCP_KEY | base64 -d > /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',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user