From 215df4f140a597420e93c1d75ea422a77b0e7610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=E5=98=89=E9=98=B3-coder?= Date: Wed, 24 Dec 2025 10:31:47 +0800 Subject: [PATCH] fix --- .gitea/workflows/aliyun-repo-sync.yml | 4 ++-- aliyun_repos.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/aliyun-repo-sync.yml b/.gitea/workflows/aliyun-repo-sync.yml index 1066f8a..6c28f9b 100644 --- a/.gitea/workflows/aliyun-repo-sync.yml +++ b/.gitea/workflows/aliyun-repo-sync.yml @@ -77,8 +77,8 @@ jobs: - name: 从配置文件中提取仓库并同步 env: - UPSTREAM_USERNAME: ${{ secrets.UPSTREAM_USERNAME }} - UPSTREAM_TOKEN: ${{ secrets.UPSTREAM_TOKEN }} + UPSTREAM_USERNAME: ${{ secrets.CODEUP_USERNAME }} + UPSTREAM_TOKEN: ${{ secrets.CODEUP_PASSWORD }} TARGET_USERNAME: ${{ secrets.TARGET_USERNAME }} TARGET_TOKEN: ${{ secrets.TARGET_TOKEN }} run: python3 sync_repos.py diff --git a/aliyun_repos.yaml b/aliyun_repos.yaml index d0169f1..367890a 100644 --- a/aliyun_repos.yaml +++ b/aliyun_repos.yaml @@ -2,6 +2,6 @@ # 定义需要同步的仓库对,源仓库 -> 目标仓库 repositories: - name: "pve-k3s-gitops" - source_url: "https://${CODEUP_USERNAME}:${CODEUP_PASSWORD}@codeup.aliyun.com/619ddf2bcfe94d7ade4c41ab/fjy8018/pve-k3s-gitops.git" + source_url: "https://${UPSTREAM_USERNAME}:${UPSTREAM_TOKEN}@codeup.aliyun.com/619ddf2bcfe94d7ade4c41ab/fjy8018/pve-k3s-gitops.git" target_url: "https://${TARGET_USERNAME}:${TARGET_TOKEN}@gitea.fjy8018.top/fjy8018/pve-k3s-gitops.git" branch: "master"