File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ permissions:
99 contents : write
1010 id-token : write
1111 packages : write
12+ pages : write
1213env :
1314 GH_PACKAGES_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1415
1516jobs :
1617 release :
18+ name : Release Package
1719 runs-on : ubuntu-latest
18-
1920 steps :
2021 - uses : actions/checkout@v4
2122 - uses : actions/setup-node@v4
3536 NPM_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3637 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
3738 run : npm run semantic-release
39+ deploy :
40+ name : Deploy Doc Site
41+ runs-on : ubuntu-latest
42+ steps :
43+ - id : build-publish
44+ uses : bitovi/github-actions-storybook-to-github-pages@v1.0.2
45+ with :
46+ path : storybook-static
47+ build_command : build-storybook-docs
Original file line number Diff line number Diff line change 1515 "build" : " cross-env-shell BABEL_ENV=build IS_PUBLISHING=true \" dts build && webpack --config webpack.config.js\" " ,
1616 "rollup" : " cross-env-shell BABEL_ENV=build IS_PUBLISHING=true \" dts build\" " ,
1717 "build-storybook" : " storybook build" ,
18+ "build-storybook-docs" : " storybook build --docs" ,
1819 "storybook-docs" : " storybook dev --docs" ,
1920 "lint" : " dts lint" ,
2021 "lint-fix" : " dts lint --fix" ,
You can’t perform that action at this time.
0 commit comments