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 6
6
- main
7
7
8
8
jobs :
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 }}
11
13
runs-on : ubuntu-latest
12
-
13
14
steps :
14
- - name : Checkout repo
15
+ - name : Checkout
15
16
uses : actions/checkout@v3
17
+ - name : Setup Pages
18
+ uses : actions/configure-pages@v3
16
19
17
20
- name : Use nodejs
18
21
uses : actions/setup-node@v3
25
28
- name : Build storybook
26
29
run : npm run build:storybook
27
30
28
- - name : Deploy to Github Pages
29
- uses :
JamesIves/github -pages-[email protected]
31
+ - name : Upload artifact
32
+ uses : actions/upload -pages-artifact@v1
30
33
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