You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
506 B
19 lines
506 B
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rm -rf storybook-static
|
|
STORYBOOK_ENV=1 ./node_modules/.bin/build-storybook
|
|
mkdir -p storybook-static/static/fonts/opensans storybook-static/static/fonts/rubik
|
|
cp -R static/fonts/opensans storybook-static/static/fonts
|
|
cp -R static/fonts/rubik storybook-static/static/fonts
|
|
|
|
cd storybook-static
|
|
|
|
git init
|
|
git remote add origin git@github.com:LedgerHQ/ledger-live-desktop.git
|
|
git add .
|
|
git commit -m 'deploy storybook'
|
|
git push -f origin master:gh-pages
|
|
|
|
printf "deployed with success!"
|
|
|