chore: Update docs build vitepress command

This commit is contained in:
Sidharth Vinod
2022-10-29 01:14:11 +05:30
parent 8f5fe38212
commit fed32607de
3 changed files with 10 additions and 9 deletions

View File

@@ -18,12 +18,13 @@ jobs:
- name: Install deps
run: pnpm install
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
- name: Install and Build 🔧
run: |
cd ./packages/mermaid
pnpm docs:bundle
pnpm docs:build:vitepress
- name: Deploy 🚀📕
uses: JamesIves/github-pages-deploy-action@v4.3.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: packages/mermaid/src/docs/.vitepress/dist # The folder the action should deploy.
branch: gh-pages
folder: packages/mermaid/src/vitepress/.vitepress/dist