From 65bc4c40e9bcebd0e7ef157d05909d35ee8111eb Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 20 May 2021 17:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9static=E4=BB=93=E5=82=A8?= =?UTF-8?q?=E5=88=B0github?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ build.yml | 4 ++-- shell/update.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ build.yml b/.github/workflows/ build.yml index 08771856..1a4d9bf8 100644 --- a/.github/workflows/ build.yml +++ b/.github/workflows/ build.yml @@ -21,7 +21,8 @@ jobs: - name: copy to static repo env: - GITHUB_REPO: gitee.com/whyour/qinglong-static + # GITHUB_REPO: gitee.com/whyour/qinglong-static + GITHUB_REPO: github.com/whyour/qinglong-static run: | mkdir -p static cd ./static @@ -29,6 +30,5 @@ jobs: git init && git add . git config user.name "whyour" git config user.email "imwhyour@gmail.com" - git config http.postBuffer 524288000 git commit --allow-empty -m "copy static at $(date +'%Y-%m-%d %H:%M:%S')" git push --force --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master \ No newline at end of file diff --git a/shell/update.sh b/shell/update.sh index 2da28b57..af9523b9 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -261,7 +261,7 @@ update_qinglong() { echo -e "\n更新$dir_root失败,请检查原因...\n" fi - local url="https://gitee.com/whyour/qinglong-static.git" + local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git" if [ -d ${ql_static_repo}/.git ]; then reset_romote_url ${ql_static_repo} ${url} git_pull_scripts ${ql_static_repo}