File tree Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 1
- # Workflow name
2
- name : Build and Publish Storybook to GitHub Pages
3
-
4
1
on :
5
- # Event for the workflow to run on
6
2
push :
7
3
branches :
8
- - ' main' # Replace with the branch you want to deploy from
4
+ - " main" # change to the branch you wish to deploy from
9
5
10
6
permissions :
11
7
contents : read
12
8
pages : write
13
9
id-token : write
14
10
15
- # List of jobs
16
11
jobs :
17
12
deploy :
18
13
runs-on : ubuntu-latest
19
- # Job steps
20
14
steps :
21
- # Manual Checkout
22
- - uses : actions/checkout@v4
23
- with :
24
- fetch-depth : 0
25
- # Set up Node
26
- - uses : actions/setup-node@v4
27
- with :
28
- node-version : ' 20'
29
- # 👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
30
-
31
- with :
32
- path : docs # default: dist/storybook
33
- checkout : false # default: true
15
+ - id : build-publish
16
+
17
+ with :
18
+ path : build # change to your build folder
You can’t perform that action at this time.
0 commit comments