This commit is contained in:
James Ives 2019-11-10 16:36:48 -05:00
parent f74e44cdfa
commit b711f5273f

View File

@ -94,7 +94,7 @@ function deploy() {
Allows the user to specify the root if '.' is provided. */ Allows the user to specify the root if '.' is provided. */
if (constants_1.action.build === constants_1.root) { if (constants_1.action.build === constants_1.root) {
// rsync is executed here so the .git and temporary deployment directories don't get duplicated. // rsync is executed here so the .git and temporary deployment directories don't get duplicated.
yield util_1.execute(`rsync -av --progress ${constants_1.action.build}/. ${temporaryDeploymentDirectory} --exclude .git --exclude ${temporaryDeploymentDirectory}`, constants_1.workspace); yield util_1.execute(`rsync -q -av --progress ${constants_1.action.build}/. ${temporaryDeploymentDirectory} --exclude .git --exclude ${temporaryDeploymentDirectory}`, constants_1.workspace);
} }
else { else {
yield io_1.cp(`${constants_1.action.build}/.`, temporaryDeploymentDirectory, { yield io_1.cp(`${constants_1.action.build}/.`, temporaryDeploymentDirectory, {