mirror of
https://github.com/detleph/components.git
synced 2026-09-04 08:36:03 +02:00
26 lines
494 B
YAML
26 lines
494 B
YAML
name: Deploy Storybook to GH pages
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js 16
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16'
|
|
- name: Install dependencies
|
|
run: npm i
|
|
- name: Build and deploy
|
|
run: npm run build-storybook -- -o out
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
folder: ./out
|