Fixed Admin-X path variable

refs https://github.com/TryGhost/DevOps/issues/80

- I'd previously used the wrong one
This commit is contained in:
Daniel Lockyer 2023-09-19 11:49:06 +02:00 committed by Daniel Lockyer
parent 8843d3c25b
commit 4c8458ef78

View File

@ -48,7 +48,7 @@ module.exports = {
const adminXSettingsPath = '../../apps/admin-x-settings/dist';
const assetsAdminXPath = `${assetsOut}/assets/libs/admin-x-settings`;
if (fs.existsSync(assetsAdminXPath)) {
if (fs.existsSync(adminXSettingsPath)) {
if (this.env === 'production') {
fs.copySync(adminXSettingsPath, assetsAdminXPath, {overwrite: true, dereference: true});
} else {