Storybook: add canary deploy from master (#22843)

* Canary from master latest from release

* Fix logo URL
This commit is contained in:
Tobias Skarhed 2020-03-17 15:03:59 +01:00 committed by GitHub
parent d953511e02
commit 81fed255fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -430,8 +430,9 @@ jobs:
# We're testing the release pipeline
echo Testing release
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
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
else
gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://grafana-storybook/${CIRCLE_SHA1:0:7}

View File

@ -38,7 +38,7 @@ const createTheme = (theme: GrafanaTheme) => {
inputBorderRadius: 4,
brandTitle: 'Grafana UI',
brandUrl: '/',
brandUrl: './',
brandImage: './grafana_icon.svg',
});
};