Skip to content

Commit

Permalink
Use other action.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Mar 1, 2024
1 parent 5dfa936 commit ac0f040
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- run: npm ci
- run: npm run storybook:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
- id: build-publish
uses: bitovi/[email protected]
with:
path: './storybook-static'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
path: ./storybook-static
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"prettier:check": "prettier --check . --cache --cache-strategy=content --cache-location=.prettiercache",
"type-check": "tsc --noEmit",
"format": "npm run lint:js -- --fix && npm run lint:css -- --fix && npm run prettier",
"storybook": "BUILD_ENV=storybook storybook dev -p 6006 --quiet --no-open",
"storybook:build": "BUILD_ENV=storybook storybook build",
"storybook": "cross-env BUILD_ENV=storybook storybook dev -p 6006 --quiet --no-open",
"storybook:build": "cross-env BUILD_ENV=storybook storybook build",
"test": "vitest"
},
"dependencies": {
Expand Down

0 comments on commit ac0f040

Please sign in to comment.