Skip to content

Commit ae1aa5e

Browse files
authored
feat: auto deploy storybook to github pages
1 parent 5343724 commit ae1aa5e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
branches:
4+
- "master"
5+
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
11+
jobs:
12+
deploy:
13+
environment:
14+
name: github-pages
15+
url: ${{ steps.build-publish.outputs.page_url }}
16+
runs-on: ubuntu-latest
17+
steps:
18+
- id: build-publish
19+
uses: bitovi/[email protected]
20+
with:
21+
path: storybook-static
22+
install_command: yarn install
23+
build_command: yarn build-storybook

0 commit comments

Comments
 (0)