diff --git a/.deployment b/.deployment index db5488a1..433eef9a 100644 --- a/.deployment +++ b/.deployment @@ -1,2 +1,2 @@ [config] -command = deploy.cmd \ No newline at end of file +command = bash ./deploy.sh \ No newline at end of file diff --git a/packages/core.gbapp/models/GBModel.ts b/packages/core.gbapp/models/GBModel.ts index 8773e592..1acc68e0 100644 --- a/packages/core.gbapp/models/GBModel.ts +++ b/packages/core.gbapp/models/GBModel.ts @@ -104,7 +104,6 @@ export class GuaribasInstance extends Model @Column({ type: DataType.STRING(64) }) public translatorKey: string; - @Column(DataType.STRING(255)) @Column({ type: DataType.STRING(128) }) public translatorEndpoint: string; @@ -207,7 +206,6 @@ export class GuaribasInstance extends Model @Column(DataType.STRING(255)) public nlpKey: string; - @Column(DataType.STRING(255)) @Column({ type: DataType.STRING(512) }) public nlpEndpoint: string; diff --git a/packages/core.gbapp/services/GBDeployer.ts b/packages/core.gbapp/services/GBDeployer.ts index f1ddc9c1..c3149d93 100644 --- a/packages/core.gbapp/services/GBDeployer.ts +++ b/packages/core.gbapp/services/GBDeployer.ts @@ -126,7 +126,7 @@ export class GBDeployer implements IGBDeployer { let paths = [urlJoin(process.env.PWD, GBDeployer.deployFolder), urlJoin(process.env.PWD, GBDeployer.workFolder)]; const additionalPath = GBConfigService.get('ADDITIONAL_DEPLOY_PATH'); if (additionalPath !== undefined && additionalPath !== '') { - paths = paths.concat(additionalPath.toLowerCase().split(';')); + paths = paths.concat(additionalPath.split(';')); } const botPackages: string[] = []; const gbappPackages: string[] = []; @@ -146,11 +146,10 @@ export class GBDeployer implements IGBDeployer { // For each folder, checks its extensions looking for valid packages. - element = element.toLowerCase(); if (element === '.') { GBLog.info(`Ignoring ${element}...`); } else { - const name = Path.basename(element).toLowerCase(); + const name = Path.basename(element); // Skips what does not need to be loaded.