From d8e3dcd50bc9796f87390b60ae54fde8bd2487c5 Mon Sep 17 00:00:00 2001 From: kongtaoxing Date: Fri, 27 Sep 2024 12:57:54 +0800 Subject: [PATCH] fix: github token --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index b096162..5152354 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -24,7 +24,7 @@ jobs: # Step 3: 添加组织仓库作为远程仓库 - name: Add Organization Repository as Remote run: | - git remote add target https://x-access-token:${{ secrets.SC_SYNC_TOKEN }}@github.com/RWAWrapper/SmartContract.git + git remote add target https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/RWAWrapper/SmartContract.git git fetch target # Step 4: 将代码推送到组织仓库的 main 分支