Files
bl/.cnb.yml
xinian 7e3f31e267
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
编辑文件 .cnb.yml
2026-03-31 01:47:32 +08:00

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