init
This commit is contained in:
20
.cnb.yml
20
.cnb.yml
@@ -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]
|
||||
Reference in New Issue
Block a user