Skip to content

Commit 6a12270

Browse files
committed
auto-deploy to github pages
1 parent 582a18b commit 6a12270

File tree

3 files changed

+300
-5
lines changed

3 files changed

+300
-5
lines changed

.github/workflows/gh-pages.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and Deploy storybook
2+
on: [push]
3+
permissions:
4+
contents: write
5+
jobs:
6+
build-and-deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout 🛎️
10+
uses: actions/checkout@v3
11+
12+
- name: Install and Build 🔧
13+
run: |
14+
npm install
15+
npm run build-storybook
16+
17+
- name: Deploy 🚀
18+
uses: JamesIves/github-pages-deploy-action@v4
19+
with:
20+
folder: storybook-static

0 commit comments

Comments
 (0)