diff --git a/lib/git.js b/lib/git.js index ab4624891..84696fe13 100644 --- a/lib/git.js +++ b/lib/git.js @@ -114,7 +114,7 @@ function deploy(action) { Pushes all of the build files into the deployment directory. Allows the user to specify the root if '.' is provided. rsync is used to prevent file duplication. */ - yield (0, execute_1.execute)(`rsync -q -av --checksum --progress --mkpath ${action.folderPath}/. ${action.targetFolder + yield (0, execute_1.execute)(`rsync -q -av --checksum --progress ${action.folderPath}/. ${action.targetFolder ? `${temporaryDeploymentDirectory}/${action.targetFolder}` : temporaryDeploymentDirectory} ${action.clean ? `--delete ${excludes} ${!fs_1.default.existsSync(`${action.folderPath}/${constants_1.DefaultExcludedFiles.CNAME}`)