Merge pull request #249 from khmahbubul/sidebar-main-overlap-on-resiz… #145
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 | |
- 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" | |