File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,28 @@ jobs:
1717 - uses : actions/setup-node@v3
1818 with :
1919 cache : ' yarn'
20- - id : main
21- run : |
20+ - run : |
2221 yarn install --frozen-lockfile
2322 yarn release
23+ yarn build-storybook
2424 env:
2525 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2626 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+ - uses : actions/upload-pages-artifact@v1
28+ with :
29+ path : ./storybook-static
30+
31+ # See: https://github.com/actions/deploy-pages
32+ deploy-job :
33+ needs : release-job
34+ permissions :
35+ pages : write
36+ id-token : write
37+ environment :
38+ name : github-pages
39+ url : ${{ steps.deployment.outputs.page_url }}
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ yarn-error.log
1616.size-snapshot.json
1717pnpm-debug.log
1818.parcel-cache
19- pnpm-lock.yaml
19+ pnpm-lock.yaml
20+ storybook-static
You can’t perform that action at this time.
0 commit comments