Skip to content

Commit

Permalink
Merge pull request #6 from DaPulse/storybook/orr/publish-storybook
Browse files Browse the repository at this point in the history
Storybook/orr/publish storybook
  • Loading branch information
orrgottlieb authored Oct 11, 2020
2 parents 38c9f7f + e309050 commit 3be7038
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

name: Publish Storybook

on:
release:
types: [created]


jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Build & Deploy Storybook to GitHub pages
run: npm run deploy-storybook
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: |
echo "style.monday.com" > ./CNAME
git init
git config user.name "GH Pages Bot"
git config user.email "hello@ghbot.com"
git config commit.gpgsign false
git add .
git commit -m "Deploy Storybook [ci-skip]"
git push --force --quiet git@github.com:DaPulse/monday-ui-react-core.git master:gh-pages

0 comments on commit 3be7038

Please sign in to comment.