Skip to content

Merge pull request #339 from matematikk-mooc/KURSP-916-override-Canva… #23

Merge pull request #339 from matematikk-mooc/KURSP-916-override-Canva…

Merge pull request #339 from matematikk-mooc/KURSP-916-override-Canva… #23

name: Deploy Storybook
on:
push:
branches:
- dev
paths:
- "src/vue/**"
workflow_dispatch:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Build Storybook
run: GH_PAGES=true npm run build-storybook
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.STORY_BOOK }}
publish_dir: storybook-static