diff --git a/.github/workflows/deploy-storybook.yaml b/.github/workflows/deploy-storybook.yaml index 598a063..baaaf46 100644 --- a/.github/workflows/deploy-storybook.yaml +++ b/.github/workflows/deploy-storybook.yaml @@ -26,10 +26,14 @@ jobs: with: node-version: '20.x' - #👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow - - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.1 + - run: yarn install + - run: yarn build-storybook + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 with: - install_command: yarn install # default: npm ci - build_command: yarn build-storybook # default: npm run build-storybook - path: storybook-static # default: dist/storybook - checkout: false # default: true \ No newline at end of file + path: './storybook-static' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file