From 1a759b6ea0e3585137b34516f7fbf97a3c7b4065 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sun, 5 Jan 2025 17:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync.yml | 4 +++- sync-gitee-to-github/sync.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index b54d65f..5769250 100755 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -24,7 +24,9 @@ jobs: GITHUBUSER: ${{ secrets.GITHUBUSER }} GITCODETOKEN: ${{ secrets.GITCODETOKEN }} GITCODEUSER: ${{ secrets.GITCODEUSER }} + ATOMGITTOKEN: ${{ secrets.ATOMGITTOKEN }} + ATOMGITUSER: ${{ secrets.ATOMGITUSER }} run: | cd sync-gitee-to-github - python3 sync.py $GITHUBUSER $GITHUBTOKEN $GITCODEUSER $GITCODETOKEN + python3 sync.py $GITHUBUSER $GITHUBTOKEN $GITCODEUSER $GITCODETOKEN $ATOMGITUSER $ATOMGITTOKEN diff --git a/sync-gitee-to-github/sync.py b/sync-gitee-to-github/sync.py index b1e46dd..d8ce78a 100644 --- a/sync-gitee-to-github/sync.py +++ b/sync-gitee-to-github/sync.py @@ -12,7 +12,8 @@ dataHeaders = { pullUrl = "https://gitee.com/GXDE-OS/" pushUrl = [ "https://@USER@:@PASS@@github.com/GXDE-OS/", - "https://@USER@:@PASS@@gitcode.com/GXDE-OS/" + "https://@USER@:@PASS@@gitcode.com/GXDE-OS/", + "https://@USER@:@PASS@@atomgit.com/GXDE-OS/" ] if (len(sys.argv) < 1 + len(pushUrl) * 2):