Skip to content

Commit

Permalink
fix(deploy): set vitepress base options (for correct assets path)
Browse files Browse the repository at this point in the history
  • Loading branch information
azabroflovski committed Jul 21, 2024
1 parent 8c32c7f commit bb62eb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- name: Setup Node
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: bun install # or pnpm install / yarn install / bun install
run: bun install
- name: Build with VitePress
run: bun run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
run: bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'mxik',
base: '/mxik-js/',
description: 'API Client for tasnif.soliq.uz',
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
Expand Down

0 comments on commit bb62eb4

Please sign in to comment.