diff --git a/.drone.yml b/.drone.yml index 770a11e..202953b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,9 @@ kind: pipeline type: kubernetes +clone: + disable: true + name: default trigger: @@ -8,6 +11,13 @@ trigger: - push steps: + - name: clone + image: ccr.ccs.tencentyun.com/violin/git-alpine:latest + commands: + - git clone https://gitea.violin-work.online/sales/todo-backend.git /drone/src + - cd /drone/src + - git checkout dev + - name: build image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22 commands: