17 lines
484 B
Go
17 lines
484 B
Go
main:
|
|
push:
|
|
- runner:
|
|
cpus: 1
|
|
stages:
|
|
# ========== 同步到GitHub ==========
|
|
- name: sync to github
|
|
image: tencentcom/git-sync
|
|
cpus: 1
|
|
imports: https://cnb.cool/blzing/key/-/blob/main/githubkey.yml
|
|
settings:
|
|
target_url: https://github.com/72wo/blazing.git
|
|
auth_type: https
|
|
username: ${GIT_USERNAME}
|
|
password: ${GIT_ACCESS_TOKEN}
|
|
sync_mode: rebase
|