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`, () => {
|
gulp.task(`ftp.upload.${deployEnv}.additionalFiles`, () => {
|
||||||
return gulp.src(additionalFiles, { base: additionalFolder }).pipe(
|
return gulp
|
||||||
$.sftp({
|
.src(additionalFiles, { base: additionalFolder }) //
|
||||||
host: process.env.SHAPEZ_CLI_SERVER_HOST,
|
.pipe($.sftp(deployCredentials));
|
||||||
user: process.env.SHAPEZ_CLI_STAGING_FTP_USER,
|
|
||||||
pass: process.env.SHAPEZ_CLI_STAGING_FTP_PW,
|
|
||||||
})
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task(`ftp.upload.${deployEnv}`, cb => {
|
gulp.task(`ftp.upload.${deployEnv}`, cb => {
|
||||||
|
Loading…
Reference in New Issue
Block a user