Commit 4cf8e1d6 by Tobias Skarhed Committed by GitHub

Storybook: Update URL to push to new bucket (#23441)

parent c5f21bda
...@@ -496,12 +496,12 @@ jobs: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment