-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.cnb.yml
More file actions
26 lines (25 loc) · 833 Bytes
/
Copy path.cnb.yml
File metadata and controls
26 lines (25 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
main:
push:
- imports:
- https://cnb.cool/ttf248/tokens/-/blob/main/env.yml
stages:
- name: sync to github
image: tencentcom/git-sync
settings:
target_url: https://github.com/ttf248/game_helper.git
auth_type: https
username: ${GIT_USERNAME}
password: ${GIT_ACCESS_TOKEN}
- name: test
script: echo "This is a test stage" && echo ${GIT_USERNAME}
web_trigger_sync:
- imports:
- https://cnb.cool/ttf248/tokens/-/blob/main/env.yml
stages:
- name: sync to github
image: tencentcom/git-sync
settings:
target_url: https://github.com/ttf248/game_helper.git
auth_type: https
username: ${GIT_USERNAME}
password: ${GIT_ACCESS_TOKEN}