Skip to content

Commit

Permalink
fix: update the release script to use workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3528 committed Jul 31, 2023
1 parent de192c6 commit 974175c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/npm-storybook-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run:
name: Build Storybook
command: |
- name: Build Storybook
run: |
rm -rf docs/storybook
npm run storybook:build
- run:
name: Push Storybook updates to Github
command: |
- name: Push Storybook updates to Github
run: |
# Check if there's anything to commit
if [ -n "$(git status --porcelain)" ]; then
git pull
Expand Down

0 comments on commit 974175c

Please sign in to comment.