Skip to content

Merge pull request #310 from matematikk-mooc/Therese-Persen/KursP-879… #2

Merge pull request #310 from matematikk-mooc/Therese-Persen/KursP-879…

Merge pull request #310 from matematikk-mooc/Therese-Persen/KursP-879… #2

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: 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