From 49269c1e8234427a9b4fff2c0bac478fb13e14de Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Thu, 6 Jan 2022 22:08:29 -0300 Subject: [PATCH] update git push to remote action Signed-off-by: GuillaumeFalourd --- action.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 39e9cba..dcc73c1 100644 --- a/action.yml +++ b/action.yml @@ -132,12 +132,7 @@ runs: echo echo "##### Copying contents to destination Github repository #####" - if [ -z "${{ inputs.target_dir }}" ]; then - cp -rvf "${{ inputs.source_files }}" "$CLONE_DIRECTORY" - else - mkdir -p "$CLONE_DIRECTORY/${{ inputs.target_dir }}" - cp -rvf "${{ inputs.source_files }}" "$CLONE_DIRECTORY/${{ inputs.target_dir }}" - fi + cp -rvf "${{ inputs.files }}" "$CLONE_DIRECTORY" cd "$CLONE_DIRECTORY"