File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ======================================================================== #
2
+ # Copyright 2024 HCL America Inc. #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"); #
4
+ # you may not use this file except in compliance with the License. #
5
+ # You may obtain a copy of the License at #
6
+ # #
7
+ # http://www.apache.org/licenses/LICENSE-2.0 #
8
+ # #
9
+ # Unless required by applicable law or agreed to in writing, software #
10
+ # distributed under the License is distributed on an "AS IS" BASIS, #
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
12
+ # See the License for the specific language governing permissions and #
13
+ # limitations under the License. #
14
+ # ======================================================================== #
15
+ name : Publish to gh-pages
16
+ on :
17
+ workflow_dispatch :
18
+ release :
19
+ types : [published]
20
+ jobs :
21
+ build :
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - name : Checkout 🛎️
25
+ uses : actions/checkout@v4
26
+
27
+ - name : Prepare 🔧
28
+ uses : actions/setup-node@v4
29
+ with :
30
+ node-version : ' 20.x'
31
+ - run : npm ci
32
+ - run : npm run build-storybook
33
+
34
+ - name : Deploy 🚀
35
+ uses : JamesIves/github-pages-deploy-action@v4
36
+ with :
37
+ folder : storybook-static # The folder the action should deploy.
You can’t perform that action at this time.
0 commit comments