Skip to content

Commit

Permalink
chore: add meta build info to the website (#48834)
Browse files Browse the repository at this point in the history
* chore: website add more build info

* chore: update

* Revert "chore: update"

This reverts commit 487dca0.

* Revert "chore: website add more build info"

This reverts commit cc5cb6b.

* chore: update

* chore: update

* chore: update
  • Loading branch information
Wxh16144 committed May 9, 2024
1 parent fec2132 commit e2e3331
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ export default defineConfig({
},
extraRehypePlugins: [rehypeAntd],
extraRemarkPlugins: [remarkAntd],
metas: [{ name: 'theme-color', content: '#1677ff' }],
metas: [
{ name: 'theme-color', content: '#1677ff' },
{ name: 'build-time', content: Date.now().toString() },
// https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
{ name: 'build-hash', content: process.env.GITHUB_SHA ?? 'unknown' },
],
analytics: {
ga_v2: 'UA-72788897-1',
},
Expand Down

0 comments on commit e2e3331

Please sign in to comment.