From 9c5a5d206c984682acd3d09f547ebc253cb33aaf Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Sat, 10 Jun 2023 18:24:39 +0100 Subject: [PATCH] ci: use deb mirror from ustc --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 064e285..7d85534 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,8 +27,8 @@ steps: from_secret: NETLIFY_API_KEY commands: # - git config --global --add safe.directory "/drone/src" - # 让 Debian 使用网易源。阿里的源有限速。 - - sed -i 's/deb.debian.org/mirrors.163.com/g' /etc/apt/sources.list + # 让 Debian 使用中科大源;测试网易和阿里的源速度不理想。 + - sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list - apt-get update && apt-get install -y zip jq tar gzip curl - (cd dist && zip -r -9 ../um-react.zip .) - ./scripts/publish.sh