Skip to content

Commit 620c1bb

Browse files
committed
ci: 为 git-sync 添加 force 参数
在 .cnb.yml 文件中为 git-sync 工作流添加 force 参数,以确保在同步过程中不会因为某些错误而失败。这个修改可以提高代码同步的可靠性。
1 parent 3dbe803 commit 620c1bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.cnb.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ main:
1111
image: tencentcom/git-sync
1212
imports: https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
1313
settings:
14+
force: true
1415
branch: main
1516
auth_type: https
1617
username: ${GIT_USERNAME}

0 commit comments

Comments
 (0)