We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c12b755 commit 2d81065Copy full SHA for 2d81065
src/git.ts
@@ -166,7 +166,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
166
Allows the user to specify the root if '.' is provided.
167
rsync is used to prevent file duplication. */
168
await execute(
169
- `rsync -q -av --checksum --progress ${action.folderPath}/. ${
+ `rsync -q -av --checksum --progress ${action.targetFolder ? '--mkpath' : ''} ${action.folderPath}/. ${
170
action.targetFolder
171
? `${temporaryDeploymentDirectory}/${action.targetFolder}`
172
: temporaryDeploymentDirectory
0 commit comments