File tree Expand file tree Collapse file tree 4 files changed +922
-973
lines changed Expand file tree Collapse file tree 4 files changed +922
-973
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and publish Storybook
2
+
3
+ on :
4
+ push :
5
+ branches : [ improve-components ]
6
+
7
+ jobs :
8
+ publish-storybook :
9
+
10
+ permissions :
11
+ contents : write
12
+
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-node@v3
17
+ with :
18
+ node-version : ' 20.x'
19
+ registry-url : ' https://registry.npmjs.org'
20
+ - run : npm ci
21
+ - run : npm run build-storybook
22
+ - name : Deploy to external repository
23
+ uses : pavletto/github-action-push-to-another-repository@main
24
+ env :
25
+ SSH_DEPLOY_KEY : ${{ secrets.SSH_DEPLOY_KEY }}
26
+ with :
27
+ source-directory : ./storybook-static
28
+ destination-github-username : openglobus
29
+ destination-repository-name : openglobus.github.io
30
+ user-email : github-actions[bot]@users.noreply.github.com
31
+ target-branch : master
32
+ target-directory : storybook
You can’t perform that action at this time.
0 commit comments