Skip to content

fix: build chat bundle for vercel deployment (#320) #621

fix: build chat bundle for vercel deployment (#320)

fix: build chat bundle for vercel deployment (#320) #621

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- uses: volta-cli/action@v4
- name: Build sdk-runtime
working-directory: ./packages/sdk-runtime
run: |
yarn install
yarn build
- name: Install and Build
working-directory: ./packages/react-chat
run: |
yarn install
yarn storybook:publish
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: docs
folder: ./packages/react-chat/docs
clean: true