docs: update local dev steps #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Install and Build | |
working-directory: ./packages/react-chat | |
run: | | |
yarn install | |
yarn build:docs | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: docs | |
folder: ./packages/react-chat/docs | |
clean: true |