mirror of
https://github.com/detleph/components.git
synced 2026-09-04 08:36:03 +02:00
Refactor to use normal storybook build commands
This commit is contained in:
@@ -17,9 +17,9 @@ jobs:
|
|||||||
node-version: '16'
|
node-version: '16'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Install deploy-storybook
|
|
||||||
run: npm i -g @storybook/storybook-deployer
|
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
run: npx -p @storybook/storybook-deployer storybook-to-ghpages -- --ci --branch=gh-pages --source-branch=main
|
run: npm run build-storybook -- -o out
|
||||||
env:
|
- name: Deploy
|
||||||
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
with:
|
||||||
|
folder: ./out
|
||||||
|
|||||||
Reference in New Issue
Block a user