mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Storybook: Change deploy bucket (#23569)
This commit is contained in:
parent
34266cd369
commit
5cd2b22684
@ -496,12 +496,12 @@ jobs:
|
||||
elif [[ $CIRCLE_BRANCH == "master" ]]; then
|
||||
echo $GCP_GRAFANA_UPLOAD_KEY > /tmp/gcpkey.json
|
||||
gcloud auth activate-service-account --key-file=/tmp/gcpkey.json
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://developers.grafana.com/ui/canary
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/canary
|
||||
elif [[ -n $CIRCLE_TAG ]]; then
|
||||
echo $GCP_GRAFANA_UPLOAD_KEY > /tmp/gcpkey.json
|
||||
gcloud auth activate-service-account --key-file=/tmp/gcpkey.json
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://developers.grafana.com/ui/latest
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://developers.grafana.com/ui/$CIRCLE_TAG
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/latest
|
||||
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/$CIRCLE_TAG
|
||||
fi
|
||||
- run:
|
||||
name: CI job failed
|
||||
|
Loading…
Reference in New Issue
Block a user