From a17e36b2dc9692986edf7f41d995a0a07b953c4a Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Mon, 8 Feb 2021 17:38:58 +0800 Subject: [PATCH] Remove old assets before update --- upload.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/upload.sh b/upload.sh index 513e2198..f7a1f533 100755 --- a/upload.sh +++ b/upload.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash git clone -b ip-lists https://${GH_REF} ip-lists +rm ip-lists/*.txt mv result/* ip-lists cd ip-lists git config user.name $GIT_USER_NAME