32 lines
762 B
Go
32 lines
762 B
Go
$:
|
|
vscode:
|
|
- runner:
|
|
cpus: 2
|
|
docker:
|
|
build: .ide/Dockerfile
|
|
services:
|
|
- vscode
|
|
- docker
|
|
stages:
|
|
- name: ls
|
|
script: ls -al
|
|
|
|
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://admin:4be1105e7401fa938ed84fb55e498376fa29847b@cr.72wo.cn/admin/bl.git
|
|
auth_type: https
|
|
username: ${GIT_USERNAME}
|
|
password: ${GIT_ACCESS_TOKEN}
|
|
force: true
|
|
|
|
#sync_mode: rebase
|