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