Skip to content

Commit

Permalink
Updated the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaieds committed Nov 20, 2024
1 parent 8c31b13 commit 3ff3cb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/storybook-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ permissions:
# List of jobs
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
# Job steps
steps:
Expand All @@ -27,7 +30,8 @@ jobs:
node-version: '20.x'

#👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
- uses: bitovi/[email protected]
- id: build-publish
uses: bitovi/[email protected]
with:
install_command: npm install # default: npm ci
build_command: npm run build && npm run build-storybook # default: npm run build-storybook
Expand Down

0 comments on commit 3ff3cb2

Please sign in to comment.