File tree Expand file tree Collapse file tree 2 files changed +48
-24
lines changed Expand file tree Collapse file tree 2 files changed +48
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Workflow name
2
+ name : 🚀 Storybook 배포
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - ' main'
8
+ workflow_dispatch :
9
+
10
+ permissions :
11
+ contents : read
12
+ pages : write
13
+ id-token : write
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : ✅ 코드 체크 아웃
20
+ uses : actions/checkout@v3
21
+
22
+ - name : ✅ 노드 세팅
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : ' 20.x'
26
+
27
+ - name : 🔨 빌드
28
+ run : |
29
+ cd packages/design-system
30
+ yarn build-storybook
31
+
32
+ - name : Upload artifact
33
+ uses : actions/upload-pages-artifact@v2.0.0
34
+ with :
35
+ path : storybook-static
36
+
37
+ deploy :
38
+ environment :
39
+ name : github-pages
40
+ url : ${{ steps.build-publish.outputs.page_url }}
41
+ runs-on : ubuntu-latest
42
+ needs : build
43
+ steps :
44
+ - name : 🚀 스토리북 배포
45
+ id : deployment
46
+ uses : actions/deploy-pages@v3
47
+ with :
48
+ token : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments