mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-21 02:50:58 +01:00
21 lines
443 B
YAML
21 lines
443 B
YAML
|
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
|