From d6c3f9dfacf5deee5f871d3a518ec2c15e6173a3 Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Wed, 8 Mar 2017 01:34:20 +0800 Subject: [PATCH] fix CI commit with wrong author --- upload.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/upload.sh b/upload.sh index dab55c39..3ac23139 100755 --- a/upload.sh +++ b/upload.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash -git config user.name $GIT_USER_NAME -git config user.email $GIT_USER_EMAIL - git clone -b ip-lists https://${GH_REF} ip-lists mv result/* ip-lists cd ip-lists +git config user.name $GIT_USER_NAME +git config user.email $GIT_USER_EMAIL git add . git commit -m "update $(date +%Y-%m-%d)" git push -q "https://${GH_TOKEN}@${GH_REF}" ip-lists:ip-lists