Commit 81fed255 by Tobias Skarhed Committed by GitHub

Storybook: add canary deploy from master (#22843)

* Canary from master latest from release

* Fix logo URL
parent d953511e
...@@ -430,8 +430,9 @@ jobs: ...@@ -430,8 +430,9 @@ jobs:
# We're testing the release pipeline # We're testing the release pipeline
echo Testing release echo Testing release
elif [[ $CIRCLE_BRANCH == "master" ]]; then elif [[ $CIRCLE_BRANCH == "master" ]]; then
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/canary
elif [[ -n $CIRCLE_TAG ]]; then elif [[ -n $CIRCLE_TAG ]]; then
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 gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/$CIRCLE_TAG
else else
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/${CIRCLE_SHA1:0:7} gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/${CIRCLE_SHA1:0:7}
......
...@@ -38,7 +38,7 @@ const createTheme = (theme: GrafanaTheme) => { ...@@ -38,7 +38,7 @@ const createTheme = (theme: GrafanaTheme) => {
inputBorderRadius: 4, inputBorderRadius: 4,
brandTitle: 'Grafana UI', brandTitle: 'Grafana UI',
brandUrl: '/', brandUrl: './',
brandImage: './grafana_icon.svg', brandImage: './grafana_icon.svg',
}); });
}; };
......
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