File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1414 NODE_VERSION = " 24"
1515 NODE_OPTIONS = " --max_old_space_size=8192"
1616
17+
18+ # Note, we run build:packages and git backfill in parallel to speed up builds
19+ # We run "git backfill" here to ensure the full Git history is available fast
20+ # See https://github.com/facebook/docusaurus/pull/11553
21+
1722[context .production ]
18- command = " yarn --cwd .. build:packages && git backfill && yarn netlify:build:production"
23+ command = " (echo 'Build packages start' && yarn --cwd .. build:packages && echo 'Build packages end') & (echo 'Git backfill start' && git backfill && echo 'Git backfill end' ) & wait && yarn netlify:build:production"
1924
2025[context .branch-deploy ]
21- command = " yarn --cwd .. build:packages && git backfill && yarn netlify:build:branchDeploy"
26+ command = " (echo 'Build packages start' && yarn --cwd .. build:packages && echo 'Build packages end') & (echo 'Git backfill start' && git backfill && echo 'Git backfill end' ) & wait && yarn netlify:build:branchDeploy"
2227
2328[context .deploy-preview ]
24- command = " yarn --cwd .. build:packages && git backfill && yarn netlify:build:deployPreview"
29+ command = " (echo 'Build packages start' && yarn --cwd .. build:packages && echo 'Build packages end') & (echo 'Git backfill start' && git backfill && echo 'Git backfill end' ) & wait && yarn netlify:build:deployPreview"
2530
2631[[plugins ]]
2732package = " netlify-plugin-cache"
2833 [plugins .inputs ]
2934 paths = [
30- " node_modules/.cache/webpack " ,
35+ " node_modules/.cache" ,
3136 ]
You can’t perform that action at this time.
0 commit comments