Skip to content

Commit f174f66

Browse files
abyyxwangcnb
authored andcommitted
commit .cnb.yml
sync to github
1 parent e5aedf4 commit f174f66

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.cnb.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# .cnb.yml
2-
32
main:
4-
"crontab: 0 1 * * *":
5-
- name: sync from github
6-
stages:
7-
- name: sync from github
3+
push:
4+
- stages:
5+
- name: sync to github with rebase
86
image: tencentcom/git-sync
7+
imports:
8+
- https://cnb.cool/tencent/cloud/trtc/github-access-tokens/-/blob/main/env.access_token.yml
99
settings:
1010
target_url: https://github.com/Tencent-RTC/TUIKit_Flutter.git
1111
auth_type: https
12-
username: ${GIT_USERNAME}
13-
password: ${GIT_ACCESS_TOKEN}
14-
sync_mode: pull
12+
username: ${GITHUB_USER_NAME}
13+
password: ${GITHUB_ACCESS_TOKEN}
14+
sync_mode: rebase

0 commit comments

Comments
 (0)