1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 12:42:32 +03:00

Merge pull request #515 from primer/auto_storybook

Auto publish storybook
This commit is contained in:
Jon Rohan 2018-06-28 12:56:51 -07:00 committed by GitHub
commit 2b5ec9b600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,10 @@ $(dirname $0)/notify pending
# published version
$(npm bin)/lerna exec -- $(pwd)/script/try-publish
# Build and publish storybook
$(npm bin)/build-storybook -o build
$(npm bin)/gh-pages -d build -b gh-pages --silent -r https://primer-css:${GH_TOKEN}@github.com/primer/storybook
echo "📓 Updated CHANGELOG..."
$(npm bin)/lerna-changelog