Skip to content

testing deploy

testing deploy #5

name: Build and Deploy
on:
push:
branches:
- storybook-upgrade
jobs:
deploy:
name: Setup build and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Run Build script
uses: actions/setup-node@v1
with:
node-version: '16.6.1'
- run: npm ci
- run: npx lerna bootstrap --hoist --no-ci
- run: npm run build:dist
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true
TARGET_FOLDER: docs/v3