File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 66 - main
77
88jobs :
9- build-and-deploy :
10- name : Build and deploy Storybook to Github Pages
9+ deploy :
10+ environment :
11+ name : github-pages
12+ url : ${{ steps.deployment.outputs.page_url }}
1113 runs-on : ubuntu-latest
12-
1314 steps :
14- - name : Checkout repo
15+ - name : Checkout
1516 uses : actions/checkout@v3
17+ - name : Setup Pages
18+ uses : actions/configure-pages@v3
1619
1720 - name : Use nodejs
1821 uses : actions/setup-node@v3
2528 - name : Build storybook
2629 run : npm run build:storybook
2730
28- - name : Deploy to Github Pages
29- uses : JamesIves/github -pages-deploy-action@v4.3.4
31+ - name : Upload artifact
32+ uses : actions/upload -pages-artifact@v1
3033 with :
31- branch : gh-pages
32- folder : storybook-static
33- clean : true
34+ # Upload entire repository
35+ path : ' storybook-static'
36+
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments