Skip to content

Merge pull request #31 from IATI/validator #21

Merge pull request #31 from IATI/validator

Merge pull request #31 from IATI/validator #21

name: Deploy Storybook
on:
push:
branches:
- "main"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
run: npm ci
- name: Build storybook
run: npm run build:storybook
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: storybook-static
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4