mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update git.ts (#321)
This commit is contained in:
parent
ad4aca4866
commit
e577b72e41
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user