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