From 7195899e15902783c5fb265ff4b6b136675d29d4 Mon Sep 17 00:00:00 2001 From: tobspr <> Date: Mon, 18 May 2020 19:50:00 +0200 Subject: [PATCH] Minor ftp gulp task adjustment --- gulp/ftp.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gulp/ftp.js b/gulp/ftp.js index 693a908d..4d328a6e 100644 --- a/gulp/ftp.js +++ b/gulp/ftp.js @@ -73,13 +73,9 @@ function gulptasksFTP($, gulp, buildFolder) { }); gulp.task(`ftp.upload.${deployEnv}.additionalFiles`, () => { - return gulp.src(additionalFiles, { base: additionalFolder }).pipe( - $.sftp({ - host: process.env.SHAPEZ_CLI_SERVER_HOST, - user: process.env.SHAPEZ_CLI_STAGING_FTP_USER, - pass: process.env.SHAPEZ_CLI_STAGING_FTP_PW, - }) - ); + return gulp + .src(additionalFiles, { base: additionalFolder }) // + .pipe($.sftp(deployCredentials)); }); gulp.task(`ftp.upload.${deployEnv}`, cb => {