mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: add meta build info to the website (#48834)
* chore: website add more build info * chore: update * Revert "chore: update" This reverts commit487dca0c56
. * Revert "chore: website add more build info" This reverts commitcc5cb6b33d
. * chore: update * chore: update * chore: update
This commit is contained in:
parent
fec2132073
commit
e2e3331ffe
@ -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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user