Refactor to use normal storybook build commands

This commit is contained in:
Stephan
2022-10-04 10:01:32 +02:00
committed by GitHub
parent e2f03b7c89
commit 137ecd6518
+5 -5
View File
@@ -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