Storybook gh-pages / adding travis script for this (#6269)
* updating travis script * removing dev/null per comment * storybook config override-wip * removing override storybook config * updating travis * moving deploy script to stage ,removing if ck * adding lang info * adding node v * testing * reverting last change * adding condition, dev/null back * overriding deployer message * updating per comment
This commit is contained in:
Родитель
3fb9b6db1c
Коммит
96e60bfe74
|
@ -81,3 +81,9 @@ jobs:
|
|||
- stage:
|
||||
<<: *tox
|
||||
env: TOXENV=dennis-lint
|
||||
- stage: Storybook deployment
|
||||
if: branch = master
|
||||
language: node_js
|
||||
node_js: '8'
|
||||
script: echo "Deploying to GitHub Pages..."
|
||||
after_success: yarn storybook-deploy --ci > /dev/null 2>&1
|
||||
|
|
|
@ -352,6 +352,9 @@
|
|||
"webpack-hot-middleware": "^2.18.0",
|
||||
"webpack-subresource-integrity": "^1.0.0-rc.1"
|
||||
},
|
||||
"storybook-deployer": {
|
||||
"commitMessage": "[skip ci] Deploy Storybook to Github Pages"
|
||||
},
|
||||
"bundlesize": [
|
||||
{
|
||||
"path": "./dist/@(amo|disco)-!(i18n-)*.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче