Skip to content

Commit

Permalink
look at github action env
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Jul 19, 2024
1 parent 79c95d9 commit f65960c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vitepress/config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineConfig } from 'vitepress'

const base = typeof process.env?.GITHUB_SERVER_URL === 'string' ? '/docs/' : '/'

// https://vitepress.dev/reference/site-config
export default defineConfig({
base: typeof process.env?.GITHUB_SERVER_URL === 'string' ? '/' : '/docs/',
base,
title: "rubick 文档",
description: "rubick 官方文档",
head: [
Expand Down

0 comments on commit f65960c

Please sign in to comment.