We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5305ef commit 4fe7f42Copy full SHA for 4fe7f42
1 file changed
.github/workflows/deploy-pages.yml
@@ -0,0 +1,18 @@
1
+name: Build and Publish storybook to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "main"
7
+jobs:
8
+ deploy:
9
+ environment:
10
+ name: github-pages
11
+ url: ${{ steps.build-publish.outputs.page_url }}
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - id: build-publish
15
+ uses: bitovi/github-actions-storybook-to-github-pages@v1.0.0
16
+ with:
17
+ path: storybook-static
18
+ build_command: npm run build-storybook
0 commit comments