File tree 2 files changed +25
-24
lines changed
2 files changed +25
-24
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
20
BRANCH : gh-pages # The branch the action should deploy to.
21
+ FOLDER : storybook-static # The folder that the build-storybook script generates files.
21
22
CLEAN : true # Automatically remove deleted files from the deploy branch
Original file line number Diff line number Diff line change 1
1
name : Release
2
2
on :
3
- push :
4
- branches :
5
- - master
3
+ push :
4
+ branches :
5
+ - master
6
6
jobs :
7
- release :
8
- name : Release
9
- runs-on : ubuntu-latest
10
- steps :
11
- - name : Checkout
12
- uses : actions/checkout@v3
13
- with :
14
- fetch-depth : 0
15
- - name : Setup Node.js
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 12
19
- - name : Install dependencies
20
- run : npm ci
21
- - name : Build library
22
- run : npm run build
23
- - name : Release
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
27
- run : npx -p node@lts -c "npx semantic-release"
7
+ release :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v3
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Setup Node.js
16
+ uses : actions/setup-node@v3
17
+ with :
18
+ node-version : 12
19
+ - name : Install dependencies
20
+ run : npm ci
21
+ - name : Build library
22
+ run : npm run build
23
+ - name : Release
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
27
+ run : npx -p node -c "npx semantic-release"
You can’t perform that action at this time.
0 commit comments