mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 06:27:02 +02:00
chore: fix i18n staging deployment error (#9374)
This commit is contained in:
parent
bca375238f
commit
81d30a4712
1 changed files with 5 additions and 1 deletions
|
@ -389,7 +389,11 @@ module.exports = async function createConfigAsync() {
|
|||
rehypePlugins: [(await import('rehype-katex')).default],
|
||||
disableVersioning: isVersioningDisabled,
|
||||
lastVersion:
|
||||
isDev || isDeployPreview || isBranchDeploy || isBuildFast
|
||||
isDev ||
|
||||
isVersioningDisabled ||
|
||||
isDeployPreview ||
|
||||
isBranchDeploy ||
|
||||
isBuildFast
|
||||
? 'current'
|
||||
: getLastVersion(),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue