Skip to content

Publish

Publish #23

Workflow file for this run

name: Build and Deploy
on:
deployment:
push:
tags:
- '@kws3/ui@4*'
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@v3
with:
node-version: '18.18.0'
- 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/v4