🚀 Improve deployment scripts
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -41,10 +41,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: npm
|
cache: npm
|
||||||
|
cache-dependency-path: frontend/package-lock.json
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v4
|
uses: actions/configure-pages@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: cd frontend && npm i
|
run: cd frontend && npm ci
|
||||||
- name: Build with VitePress
|
- name: Build with VitePress
|
||||||
run: cd frontend && npm run docs:build
|
run: cd frontend && npm run docs:build
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user