# .cnb.yml $: vscode: - docker: image: docker.cnb.cool/kevisual/dev-env:latest services: - vscode - docker imports: https://cnb.cool/kevisual/env/-/blob/main/env.yml # 开发环境启动后会执行的任务 stages: - name: pnpm install script: pnpm install main: web_trigger_sync_to_gitea: - services: - docker imports: # 这里修改为自己的env仓库地址 - https://cnb.cool/kevisual/env/-/blob/main/env.yml stages: - name: sync to gitea image: tencentcom/git-sync settings: # 修改为你的gitea仓库地址 target_url: https://git.xiongxiao.me/kevisual/ai-images.git auth_type: https username: "oauth2" password: ${GITEA_TOKEN} git_user: "abearxiong" git_email: "xiongxiao@xiongxiao.me" sync_mode: rebase branch: main