We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5aedf4 commit f174f66Copy full SHA for f174f66
1 file changed
.cnb.yml
@@ -1,14 +1,14 @@
1
# .cnb.yml
2
-
3
main:
4
- "crontab: 0 1 * * *":
5
- - name: sync from github
6
- stages:
7
+ push:
+ - stages:
+ - name: sync to github with rebase
8
image: tencentcom/git-sync
+ imports:
+ - https://cnb.cool/tencent/cloud/trtc/github-access-tokens/-/blob/main/env.access_token.yml
9
settings:
10
target_url: https://github.com/Tencent-RTC/TUIKit_Flutter.git
11
auth_type: https
12
- username: ${GIT_USERNAME}
13
- password: ${GIT_ACCESS_TOKEN}
14
- sync_mode: pull
+ username: ${GITHUB_USER_NAME}
+ password: ${GITHUB_ACCESS_TOKEN}
+ sync_mode: rebase
0 commit comments