Skip to content

Merge pull request #294 from anshori/main #193

Merge pull request #294 from anshori/main

Merge pull request #294 from anshori/main #193

Workflow file for this run

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: Run install and build
run: yarn install
- run: yarn build
- run: yarn rtl
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
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"