diff --git a/.github/workflows/sync-to-cnb-dev.yml b/.github/workflows/sync-to-cnb-dev.yml index 15f9e31d6..d49d1f79d 100644 --- a/.github/workflows/sync-to-cnb-dev.yml +++ b/.github/workflows/sync-to-cnb-dev.yml @@ -26,7 +26,7 @@ jobs: - name: Set git token # 3. 给git命令设置token,用于push到目标仓库 uses: de-vri-es/setup-git-credentials@v2 with: # token 格式为: username:password - credentials: https://cnb:${{secrets.TOKEN_CNB}}@cnb.cool + credentials: https://cnb:${{secrets.CNB_TOKEN}}@cnb.cool - name: push to cnb # 4. 执行同步 run: | diff --git a/.github/workflows/sync-to-cnb.yml b/.github/workflows/sync-to-cnb.yml index a13c2e669..363ac706f 100644 --- a/.github/workflows/sync-to-cnb.yml +++ b/.github/workflows/sync-to-cnb.yml @@ -25,7 +25,7 @@ jobs: - name: Set git token # 3. 给git命令设置token,用于push到目标仓库 uses: de-vri-es/setup-git-credentials@v2 with: # token 格式为: username:password - credentials: https://cnb:${{secrets.TOKEN_CNB}}@cnb.cool + credentials: https://cnb:${{secrets.CNB_TOKEN}}@cnb.cool - name: push to cnb # 4. 执行同步 run: |