File tree 2 files changed +12
-9
lines changed
2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Release notes
1
2
on :
2
3
push :
3
4
tags :
Original file line number Diff line number Diff line change 1
- name : Build and Deploy
1
+ name : Build and Deploy storybook
2
2
on :
3
3
push :
4
- paths : ["src/stories/**", "src/components/**"] # Trigger the action only when files change in the folders defined here
4
+ tags :
5
+ - " *"
6
+ permissions :
7
+ contents : write
5
8
jobs :
6
9
build-and-deploy :
7
10
runs-on : ubuntu-latest
8
11
steps :
9
12
- name : Checkout 🛎️
10
- uses : actions/checkout@v2.3.1
13
+ uses : actions/checkout@v3
11
14
with :
12
15
persist-credentials : false
13
16
- name : Install and Build 🔧
17
20
npx grunt css
18
21
npm run dev:storybook:build
19
22
- name : Deploy 🚀
20
- uses : JamesIves/github-pages-deploy-action@3.6.2
23
+ uses : JamesIves/github-pages-deploy-action@v4
21
24
with :
22
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
- BRANCH : gh-pages
24
- FOLDER : storybook-static # The folder that the build-storybook script generates files.
25
- CLEAN : true # Automatically remove deleted files from the deploy branch
26
- TARGET_FOLDER : docs # The folder that we serve our Storybook files from
25
+ token : ${{ secrets.GITHUB_TOKEN }}
26
+ branch : gh-pages
27
+ folder : storybook-static # The folder that the build-storybook script generates files.
28
+ clean : true # Automatically remove deleted files from the deploy branch
You can’t perform that action at this time.
0 commit comments