Skip to content

Commit bb62eb4

Browse files
committed
fix(deploy): set vitepress base options (for correct assets path)
1 parent 8c32c7f commit bb62eb4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333
with:
34-
fetch-depth: 0 # Not needed if lastUpdated is not enabled
35-
- name: Setup Node
34+
fetch-depth: 0
35+
- name: Setup Bun
3636
uses: oven-sh/setup-bun@v2
3737
- name: Setup Pages
3838
uses: actions/configure-pages@v4
3939
- name: Install dependencies
40-
run: bun install # or pnpm install / yarn install / bun install
40+
run: bun install
4141
- name: Build with VitePress
42-
run: bun run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
42+
run: bun run docs:build
4343
- name: Upload artifact
4444
uses: actions/upload-pages-artifact@v3
4545
with:

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { defineConfig } from 'vitepress'
33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
55
title: 'mxik',
6+
base: '/mxik-js/',
67
description: 'API Client for tasnif.soliq.uz',
78
themeConfig: {
89
// https://vitepress.dev/reference/default-theme-config

0 commit comments

Comments
 (0)