File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 2222 - run : echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
2323 - run : npm run release -- minor --ci
2424 # Deploy storybook to Github pages
25- - run : npm run deploy-storybook
25+ # - name: Deploy Storybook
26+ # - run: npm run deploy-storybook
2627 env :
27- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28- NPM_TOKEN : ${{ secrets.NPM_TOKEN}}
28+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+ NPM_TOKEN : ${{ secrets.NPM_TOKEN}}
30+
31+ build-and-deploy-sb :
32+ runs-on : ubuntu-latest
33+ if : github.event.pull_request.merged == true
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v2
37+
38+ - name : Install and Build
39+ run : |
40+ npm install
41+ npm run deploy-storybook
42+
43+ - name : Deploy
44+ with :
45+ branch : gh-pages
46+ folder : storybook-static # output folder from `npm run build-storybook`
You can’t perform that action at this time.
0 commit comments