Skip to content

Merge pull request #3110 from ONSdigital/EAR-2352-piping-introduction… #715

Merge pull request #3110 from ONSdigital/EAR-2352-piping-introduction…

Merge pull request #3110 from ONSdigital/EAR-2352-piping-introduction… #715

name: Build and deploy design system
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
env:
working-directory: ./eq-author
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
working-directory: ${{env.working-directory}}
- name: Build design system
run: yarn build-storybook
working-directory: ${{env.working-directory}}
- name: Deploy design system
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: design-system
CLEAN: true