Skip to content

Merge pull request #167 from swiss/bugfix/CHGOV-2392 #123

Merge pull request #167 from swiss/bugfix/CHGOV-2392

Merge pull request #167 from swiss/bugfix/CHGOV-2392 #123

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: '22'
- name: Install dependencies and build static storybook
run: |
npm install -g corepack@latest
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