Files
bl/.cnb.yml
xinian 43881fd988
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed
编辑文件 .cnb.yml
2026-04-02 23:42:37 +08:00

32 lines
762 B
Go

$:
vscode:
- runner:
cpus: 6
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