From 137ecd6518815ff6ff79e4f70a795db41b7ec2fd Mon Sep 17 00:00:00 2001 From: Stephan <57194608+stephan418@users.noreply.github.com> Date: Tue, 4 Oct 2022 10:01:32 +0200 Subject: [PATCH] Refactor to use normal storybook build commands --- .github/workflows/storybook-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/storybook-deploy.yml b/.github/workflows/storybook-deploy.yml index 4f0ccfb..f9f97d3 100644 --- a/.github/workflows/storybook-deploy.yml +++ b/.github/workflows/storybook-deploy.yml @@ -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