diff --git a/src/git.ts b/src/git.ts index 21b7cad23..4bf30038f 100644 --- a/src/git.ts +++ b/src/git.ts @@ -166,7 +166,7 @@ export async function deploy(action: ActionInterface): Promise { Allows the user to specify the root if '.' is provided. rsync is used to prevent file duplication. */ await execute( - `rsync -q -av --checksum --progress --mkpath ${action.folderPath}/. ${ + `rsync -q -av --checksum --progress ${action.folderPath}/. ${ action.targetFolder ? `${temporaryDeploymentDirectory}/${action.targetFolder}` : temporaryDeploymentDirectory