Skip to content

Commit

Permalink
忘记改提交哈希获取了
Browse files Browse the repository at this point in the history
  • Loading branch information
Big-Cake-jpg committed May 2, 2024
1 parent 54786c4 commit e698152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
GitChangelogMarkdownSection,
} from '@nolebase/vitepress-plugin-git-changelog/vite'

const COMMIT_ID = process.env.CF_PAGES_COMMIT_SHA || "local"
const COMMIT_ID = process.env.GITHUB_SHA || process.env.CF_PAGES_COMMIT_SHA || "local"
const commitRef = COMMIT_ID?.slice(0, 8)
const environment = process.env.DEPLOYMENT_STATUS || process.env.NODE_ENV
const pwaName = process.env.PWA_NAME || "CrashMC 文档(本地)"
Expand Down

0 comments on commit e698152

Please sign in to comment.