auto-deploy to github pages

This commit is contained in:
2022-07-31 12:36:03 +02:00
parent 582a18bb4d
commit 6a122704ac
3 changed files with 300 additions and 5 deletions

20
.github/workflows/gh-pages.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Build and Deploy storybook
on: [push]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm install
npm run build-storybook
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static