Skip to content

Commit

Permalink
Merge pull request #24 from fmruiz/develop
Browse files Browse the repository at this point in the history
feat(root): modify gh workflow
  • Loading branch information
fmruiz authored May 9, 2024
2 parents 182dbf4 + b36bbe4 commit 3d9a8e8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy-github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
# Set up Node
- uses: actions/setup-node@v3
with:
node-version: '19.x'
- name: Deploy and Install
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.1
node-version: '20.x'
- name: Build
run: |
npm i
npm run build-storybook
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
install_command: npm install # default: npm ci
build_command: npm run build-storybook # default: npm run build-storybook
path: storybook-static # default: dist/storybook
checkout: false # default: true
folder: storybook-static
token: ${{ secrets.GH_TOKEN }}

0 comments on commit 3d9a8e8

Please sign in to comment.