Skip to content

Merge pull request #338 from matematikk-mooc/TheresePersen-KURSP-920-… #22

Merge pull request #338 from matematikk-mooc/TheresePersen-KURSP-920-…

Merge pull request #338 from matematikk-mooc/TheresePersen-KURSP-920-… #22

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