diff --git a/.cnb.yml b/.cnb.yml index d090fd1e..953f6418 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -10,6 +10,16 @@ $: - name: init script: npm install pnpm -g && pnpm i main: + push: + - stages: + - name: sync to gitea + image: tencentcom/git-sync + imports: https://cnb.cool/risenstars/iot-env/-/blob/main/env.yml + settings: + target_url: https://git.risenstars.com/risenstars/iot-manage-dashboard.git + auth_type: https + username: ${GIT_USERNAME} + password: ${GIT_ACCESS_TOKEN} web_trigger_test: - docker: image: node:24