From 922308f3c898025be02e977052424f2ef5eb48de Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 4 Dec 2021 16:14:27 -0500 Subject: [PATCH] Update entrypoint.sh (#277) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8b70b307..59f665a4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -24,7 +24,7 @@ git ls-remote --exit-code temp_changed_files 1>/dev/null 2>&1 && exit_status=$? if [[ $exit_status -ne 0 ]]; then echo "No 'temp_changed_files' remote found" echo "Creating 'temp_changed_files' remote..." - git remote remove temp_changed_files 1>/dev/null || true + git remote remove temp_changed_files 2>/dev/null || true git remote add temp_changed_files "https://${INPUT_TOKEN}@${SERVER_URL}/${GITHUB_REPOSITORY}" else echo "Found 'temp_changed_files' remote"