From 157dc1cd7e5d71befcb6a6edd4774e6126815f82 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 31 Aug 2019 23:43:53 +0200 Subject: [PATCH] Silent remote rm --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 060bbdf..a322476 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -25,7 +25,7 @@ if [ -z "$(git status --porcelain)" ]; then exit 0 fi -git remote rm origin || true +git remote rm origin > /dev/null 2>&1 || true git remote add origin "${REPO}" git add . git commit --allow-empty -m 'Deploy to GitHub pages'