diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 27a69b6..647824a 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -23,7 +23,11 @@ jobs: run: corepack enable - name: Install dependencies run: yarn install - - name: Deploy Storybook - run: yarn storybook-to-ghpages --ci - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build Storybook + run: yarn build-storybook + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./storybook-static + publish_branch: gh-pages