File tree Expand file tree Collapse file tree 3 files changed +345
-548
lines changed Expand file tree Collapse file tree 3 files changed +345
-548
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Deploy
2
2
on : [push]
3
3
jobs :
4
- build-and-deploy :
5
- runs-on : ubuntu-latest
6
- steps :
7
- - name : Checkout 🛎️
8
- uses : actions/checkout@v2.3.1
9
- with :
10
- persist-credentials : false
4
+ build-and-deploy :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Checkout 🛎️
8
+ uses : actions/checkout@v2.3.1
9
+ with :
10
+ persist-credentials : false
11
11
12
- - name : Install and Build 🔧
13
- run : | # Install npm packages and build the Storybook files
14
- npm ci
15
- npm run build-storybook
16
-
17
- - name : Deploy 🚀
18
- uses : JamesIves/github-pages-deploy-action@4.1.4
19
- with :
20
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
- BRANCH : gh-pages # The branch the action should deploy to.
22
- FOLDER : storybook-static # The folder that the build-storybook script generates files.
23
- CLEAN : true # Automatically remove deleted files from the deploy branch
12
+ - name : Install and Build 🔧
13
+ run : | # Install npm packages and build the Storybook files
14
+ npm ci
15
+
16
+ - name : Deploy 🚀
17
+ uses : JamesIves/github-pages-deploy-action@4.1.4
18
+ with :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ BRANCH : gh-pages # The branch the action should deploy to.
21
+ CLEAN : true # Automatically remove deleted files from the deploy branch
You can’t perform that action at this time.
0 commit comments