We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b5669 commit 5fe1d17Copy full SHA for 5fe1d17
.github/workflows/build-storybook.yml
.github/workflows/deploy-storybook-to-gh-pages.yml
@@ -35,3 +35,20 @@ jobs:
35
36
- name: Build Storybook
37
run: yarn build-storybook
38
+
39
+ - name: Upload artifact
40
+ # Automatically uploads an artifact from the './_site' directory by default
41
+ uses: actions/upload-pages-artifact@v3
42
+ with:
43
+ path: ./storybook-static/
44
45
+ deploy:
46
+ environment:
47
+ name: github-pages
48
+ url: ${{ steps.deployment.outputs.page_url }}
49
+ runs-on: ubuntu-latest
50
+ needs: build
51
+ steps:
52
+ - name: Deploy to GitHub Pages
53
+ id: deployment
54
+ uses: actions/deploy-pages@v4
0 commit comments