Files
bl/.cnb.yml

32 lines
762 B
Go
Raw Permalink Normal View History

$:
vscode:
- runner:
2026-04-02 23:42:37 +08:00
cpus: 6
2026-03-31 01:47:32 +08:00
docker:
build: .ide/Dockerfile
services:
- vscode
- docker
2026-03-31 01:44:41 +08:00
stages:
- name: ls
script: ls -al
2026-01-27 22:47:16 +08:00
main:
push:
2026-01-28 00:05:59 +08:00
- runner:
cpus: 1
2026-01-28 00:48:12 +08:00
stages:
2026-01-27 23:04:23 +08:00
# ========== 同步到GitHub ==========
2026-01-27 22:47:16 +08:00
- name: sync to github
image: tencentcom/git-sync
2026-01-28 00:44:02 +08:00
cpus: 1
2026-01-27 23:05:40 +08:00
imports: https://cnb.cool/blzing/key/-/blob/main/githubkey.yml
2026-01-27 22:47:16 +08:00
settings:
2026-01-29 23:45:37 +08:00
target_url: https://admin:4be1105e7401fa938ed84fb55e498376fa29847b@cr.72wo.cn/admin/bl.git
2026-01-29 20:34:32 +08:00
auth_type: https
2026-01-27 22:47:16 +08:00
username: ${GIT_USERNAME}
2026-01-27 23:04:23 +08:00
password: ${GIT_ACCESS_TOKEN}
2026-01-29 11:01:54 +08:00
force: true
2026-01-29 23:40:55 +08:00
2026-01-29 10:55:51 +08:00
#sync_mode: rebase