File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -14,23 +14,19 @@ jobs:
1414 - uses : actions/setup-node@v1
1515 with :
1616 node-version : 12
17- - name : Build & Deploy Storybook to GitHub pages
17+ - name : Build & deploy Storybook to GitHub Pages
1818 run : |
1919 npm install
2020 npm run build-storybook -- -o static_storybook
2121 cd static_storybook
2222 echo "style.monday.com" > ./CNAME
23- git init
24- git config user.name "GH Pages Bot"
25- git config user.email "[email protected] " 26- git config commit.gpgsign false
27- git add .
28- git commit -m "Deploy Storybook [ci-skip]"
2923 env :
3024 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
3125 - name : Push to Storybook's branch
32- 26+ if : success()
27+ uses : crazy-max/ghaction-github-pages@v2
3328 with :
34- github_token : ${secrets.GIT_TOKEN}}
35- branch : " master:gh-pages"
36- force : true
29+ target_branch : " gh-pages"
30+ build_dir : public
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments