mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor ftp gulp task adjustment
This commit is contained in:
parent
2c659482c4
commit
ee5fb984c1
10
gulp/ftp.js
10
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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user