mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Make gsutil command don't fail if dir doesn't exist (#47394)
This commit is contained in:
committed by
GitHub
parent
015a31644c
commit
0845ba1abb
@@ -273,7 +273,7 @@ def store_storybook_step(edition, ver_mode, trigger=None):
|
||||
'printenv GCP_KEY | base64 -d > /tmp/gcpkey.json',
|
||||
'gcloud auth activate-service-account --key-file=/tmp/gcpkey.json',
|
||||
] + [
|
||||
'gsutil -m rm -r gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{} && gsutil -m cp -r ./packages/grafana-ui/dist/storybook/* gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{}'.format(
|
||||
'gsutil -m rm -r gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{} || true && gsutil -m cp -r ./packages/grafana-ui/dist/storybook/* gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{}'.format(
|
||||
c, c)
|
||||
for c in channels
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user