This commit is contained in:
xiongxiao
2026-03-18 01:25:49 +08:00
committed by cnb
parent 819cbcebac
commit 83ac00588e
6 changed files with 118 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
.crontab-job: &crontab-job
- docker:
image: docker.cnb.cool/kevisual/dev-env/ubuntu-bun:latest
runner:
cpus: 2
imports:
- https://cnb.cool/kevisual/env/-/blob/main/.env.development
- https://cnb.cool/kevisual/env/-/blob/main/ssh.yml
- https://cnb.cool/kevisual/env/-/blob/main/ssh-config.yml
stages:
- name: 检测版本更新
script: |
bun run src/cli.ts cnb sync
timeout: 20s
main:
"crontab: 0 11,23 * * *": !reference [.crontab-job]
$:
push: !reference [.crontab-job]