fix(ftp deploy): remove files from server before upload #97

Merged
florent.lesaout merged 1 commits from fix/deploy-remove-previous-files into master 2024-09-01 22:24:36 +02:00
Showing only changes of commit 94a86974f9 - Show all commits

View File

@ -13,7 +13,7 @@ var config = {
// e.g. exclude sourcemaps, and ALL files in node_modules (including dot files) // e.g. exclude sourcemaps, and ALL files in node_modules (including dot files)
exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"], exclude: ["dist/**/*.map", "node_modules/**", "node_modules/**/.*", ".git/**"],
// delete ALL existing files at destination before uploading, if true // delete ALL existing files at destination before uploading, if true
deleteRemote: false, deleteRemote: true,
// Passive mode is forced (EPSV command is not sent) // Passive mode is forced (EPSV command is not sent)
forcePasv: true forcePasv: true
}; };