diff --git a/scripts/merge.js b/scripts/merge.js index 5634581e8a9d48e3ee614aa8e7f1d23f562767dd..c6dad2c52b09af228b2336a609318b64c6b8b40d 100644 --- a/scripts/merge.js +++ b/scripts/merge.js @@ -309,10 +309,10 @@ const normalizeContentWithHugo = async (buildPath, branch, source) => { } if (source === 'openatom') { - replaceOrgDomain(path.join(BUILD_DIR, 'i18n')); - replaceOrgDomain(path.join(BUILD_DIR, 'layouts')); - replaceOrgDomain(path.join(BUILD_DIR, 'static')); - replaceOrgDomain(path.join(BUILD_DIR, 'content')); + replaceOrgDomain(path.join(buildPath, 'i18n')); + replaceOrgDomain(path.join(buildPath, 'layouts')); + replaceOrgDomain(path.join(buildPath, 'static')); + replaceOrgDomain(path.join(buildPath, 'content')); } };