File tree Expand file tree Collapse file tree 4 files changed +24
-179
lines changed Expand file tree Collapse file tree 4 files changed +24
-179
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
8
13
jobs :
9
14
faency :
10
15
name : Deploy
16
+ if : github.repository == 'traefik/faency'
11
17
runs-on : ubuntu-latest
12
18
13
19
steps :
@@ -25,18 +31,12 @@ jobs:
25
31
git config --local user.email "[email protected] "
26
32
git config --local user.name "traefiker"
27
33
28
- - name : Install
29
- run : yarn install --frozen-lockfile --production
30
-
31
- - name : Patch
32
- run : yarn patch
33
-
34
- - name : Build
35
- env :
36
- NODE_ENV : production
37
- run : yarn build
38
-
39
34
- name : Deploy
40
- run : yarn deploy- storybook
35
+ uses : bitovi/github-actions- storybook[email protected]
41
36
env :
42
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
37
+ NODE_ENV : production
38
+ with :
39
+ install_command : yarn install --frozen-lockfile --production && yarn patch
40
+ build_command : yarn build-storybook
41
+ path : storybook-static
42
+ checkout : false
Original file line number Diff line number Diff line change 1
1
name : Release
2
+
2
3
on :
3
4
push :
4
5
branches :
7
8
jobs :
8
9
faency :
9
10
name : Release
11
+ if : github.repository == 'traefik/faency'
10
12
runs-on : ubuntu-latest
11
13
steps :
12
14
- name : Checkout
Original file line number Diff line number Diff line change 37
37
"storybook" : " cross-env NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 6006 -h localhost" ,
38
38
"storybook-docs" : " storybook dev --docs" ,
39
39
"build-storybook" : " cross-env NODE_OPTIONS=--openssl-legacy-provider storybook build" ,
40
- "deploy-storybook" : " storybook-to-ghpages" ,
41
40
"test" : " jest --watch" ,
42
41
"test:ci" : " jest --ci --silent" ,
43
42
"patch" : " patch-package" ,
98
97
"@storybook/mdx2-csf" : " ^0.0.3" ,
99
98
"@storybook/react" : " ^7.6.17" ,
100
99
"@storybook/react-vite" : " ^7.6.17" ,
101
- "@storybook/storybook-deployer" : " ^2.8.16" ,
102
100
"@storybook/theming" : " ^7.6.17" ,
103
101
"@types/jest" : " ^27.4.1" ,
104
102
"@types/jest-axe" : " ^3.5.3" ,
You can’t perform that action at this time.
0 commit comments