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