chore: fix i18n staging deployment error (#9374)

This commit is contained in:
Sébastien Lorber 2023-10-05 12:30:27 +02:00 committed by GitHub
parent bca375238f
commit 81d30a4712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),