Skip to content

Merge pull request #107 from indec-it/chore/package #86

Merge pull request #107 from indec-it/chore/package

Merge pull request #107 from indec-it/chore/package #86

Workflow file for this run

name: Build and Deploy Storybook
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.BUILD_TOKEN }}
- name: Install and Build 🔧
run: |
npm ci
npm run build-storybook
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.BUILD_TOKEN }}
branch: gh-pages
folder: docs-build