Skip to content

Commit 3be7038

Browse files
authored
Merge pull request #6 from DaPulse/storybook/orr/publish-storybook
Storybook/orr/publish storybook
2 parents 38c9f7f + e309050 commit 3be7038

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)