fix
All checks were successful
阿里云仓库同步流水线 / sync-repositories (push) Successful in 41s

This commit is contained in:
2025-12-24 10:31:47 +08:00
parent cbf2aa37fd
commit 215df4f140
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"