Skip to content

Commit

Permalink
Fix deleted dir & don't complain if it doesn't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
crykn authored Oct 18, 2020
1 parent eb01e81 commit abc264e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ git clone --single-branch --branch $INPUT_DESTINATION_BRANCH "https://$API_TOKEN

echo "Copying contents to git repo"
mkdir -p $CLONE_DIR/$INPUT_DESTINATION_FOLDER
rmdir $INPUT_SOURCE_FOLDER
rm -rf $CLONE_DIR/$INPUT_DESTINATION_FOLDER/
cp -a $INPUT_SOURCE_FOLDER/. $CLONE_DIR/$INPUT_DESTINATION_FOLDER/
cd "$CLONE_DIR"

Expand Down

0 comments on commit abc264e

Please sign in to comment.