mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: fix deploy action (#42730)
This commit is contained in:
parent
99924dddc5
commit
695943dcd6
2
.github/workflows/site-deploy.yml
vendored
2
.github/workflows/site-deploy.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
||||
- name: build dist and bundle analyzer report
|
||||
run: npm run dist
|
||||
env:
|
||||
CI: false
|
||||
ANALYZER: 1
|
||||
|
||||
- name: Get version
|
||||
id: publish-version
|
||||
|
@ -39,7 +39,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
});
|
||||
}
|
||||
|
||||
if (!process.env.CI) {
|
||||
if (!process.env.CI || process.env.ANALYZER) {
|
||||
config.plugins.push(
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'static',
|
||||
|
Loading…
Reference in New Issue
Block a user