Update git.ts (#321)

This commit is contained in:
James Ives 2020-06-06 09:15:31 -04:00 committed by GitHub
parent ad4aca4866
commit e577b72e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
Allows the user to specify the root if '.' is provided. Allows the user to specify the root if '.' is provided.
rsync is used to prevent file duplication. */ rsync is used to prevent file duplication. */
await execute( await execute(
`rsync -q -av --progress ${action.folder}/. ${ `rsync -q -av --checksum --progress ${action.folder}/. ${
action.targetFolder action.targetFolder
? `${temporaryDeploymentDirectory}/${action.targetFolder}` ? `${temporaryDeploymentDirectory}/${action.targetFolder}`
: temporaryDeploymentDirectory : temporaryDeploymentDirectory