Update deploy-docs.yml

This commit is contained in:
Bozhidar 2024-05-17 18:39:54 +03:00
parent b04935fdbb
commit 8b30260fb9

View file

@ -41,9 +41,11 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: cd /docs && npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
run: cd /docs && npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
run: |
MAIN_DIR=$(pwd)
cd $MAIN_DIR/docs
npm ci
npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: