We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38c9f7f + e309050 commit 3be7038Copy full SHA for 3be7038
.github/workflows/publish-storybook.yml
@@ -0,0 +1,29 @@
1
+
2
+name: Publish Storybook
3
4
+on:
5
+ release:
6
+ types: [created]
7
8
9
+jobs:
10
+ build-and-deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: actions/setup-node@v1
15
+ with:
16
+ node-version: 12
17
+ - name: Build & Deploy Storybook to GitHub pages
18
+ run: npm run deploy-storybook
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
21
+ - run: |
22
+ echo "style.monday.com" > ./CNAME
23
+ git init
24
+ git config user.name "GH Pages Bot"
25
+ git config user.email "[email protected]"
26
+ git config commit.gpgsign false
27
+ git add .
28
+ git commit -m "Deploy Storybook [ci-skip]"
29
+ git push --force --quiet [email protected]:DaPulse/monday-ui-react-core.git master:gh-pages
0 commit comments