Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rish-0-0 committed Oct 27, 2024
1 parent 10add57 commit 27085f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ jobs:
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:

- name: Checkout Repo
uses: actions/checkout@v3

- name: Install Dependencies
run: npm run npm-install-storybook

- id: build-publish
name: Publish to GitHub Pages
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.0
with:
path: test/storybook/dist
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"test": "cd test/storybook && npm run storybook",
"build-storybook": "cd test/storybook && npm run build",
"npm-install-storybook": "cd test/storybook && npm install",
"prepublish": "tsc"
},
"repository": {
Expand Down

0 comments on commit 27085f8

Please sign in to comment.