chore: upgrade deps #149
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: Deploy demo to docs | |
# Will run on 2.0.0-rc.1 branch | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install and Build 🔧 | |
run: | | |
npm install | |
npm run build | |
npm run rtl | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: docs # The branch the action should deploy to. | |
folder: ./dist # The folder the action should deploy. | |
target-folder: demo # Deploy to `demo` folder in `docs` branch | |
commit-message: "update: demo" | |