Skip to content

Deploy to GitHub Pages #98

Deploy to GitHub Pages

Deploy to GitHub Pages #98

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies and build static storybook
run: |
corepack enable
pnpm install
cd app
pnpm run build
pnpm run build-storybook
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: app/storybook-static