Skip to content

Commit 4fe7f42

Browse files
committed
feat(pages): deploy to pages
1 parent a5305ef commit 4fe7f42

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)