From 323b75098839fb8f33c303ebe1783ad4fc193371 Mon Sep 17 00:00:00 2001 From: monlor Date: Thu, 28 May 2020 13:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89gitee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 23 ++++++++++++----------- apps/mixbox/bin/mixbox | 6 +++--- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ddf3d1..30d601e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,15 +55,16 @@ jobs: ./tools/gitsync.sh pack ./tools/gitsync.sh deploy mbfiles `basename ${BRANCH_NAME}` ${GH_REF} - gitee-deploy: - runs-on: ubuntu-latest - needs: github-deploy - steps: - - name: Sync To Gitee - uses: wearerequired/git-mirror-action@v1 - env: - SSH_PRIVATE_KEY: ${{ secrets.GE_TOKEN }} - with: - source-repo: 'git@github.com:monlor/mbfiles.git' - destination-repo: 'git@gitee.com:monlor/mbfiles.git' + # gitee空间限制,不再使用 + # gitee-deploy: + # runs-on: ubuntu-latest + # needs: github-deploy + # steps: + # - name: Sync To Gitee + # uses: wearerequired/git-mirror-action@v1 + # env: + # SSH_PRIVATE_KEY: ${{ secrets.GE_TOKEN }} + # with: + # source-repo: 'git@github.com:monlor/mbfiles.git' + # destination-repo: 'git@gitee.com:monlor/mbfiles.git' diff --git a/apps/mixbox/bin/mixbox b/apps/mixbox/bin/mixbox index e37cf1e..7a537e2 100644 --- a/apps/mixbox/bin/mixbox +++ b/apps/mixbox/bin/mixbox @@ -171,20 +171,20 @@ modify_source() { case "$mburl" in "$mburl_coding") url_text="coding下载源" ;; "$mburl_github") url_text="github下载源" ;; - "$mburl_gitee") url_text="gitee下载源" ;; + # "$mburl_gitee") url_text="gitee下载源" ;; *) url_text="$mburl" ;; esac echo "下载源【$url_text】使用中" echo "0. 不修改" echo "1. coding下载源" echo "2. github下载源" - echo "3. gitee下载源(推荐)" + # echo "3. gitee下载源(推荐)" read -p "请选择或输入下载源:" res case "$res" in 0) return ;; 1) mburl_tmp="$mburl_coding" ;; 2) mburl_tmp="$mburl_github" ;; - 3) mburl_tmp="$mburl_gitee" ;; + # 3) mburl_tmp="$mburl_gitee" ;; *) [ -n "$res" ] && mburl_tmp="$res" ;; esac if [ -n "$mburl_tmp" ]; then