瀏覽代碼

project: add cicd 2

Yi 1 年之前
父節點
當前提交
cd4fcf5947
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      .drone.yml

+ 10 - 0
.drone.yml

@@ -2,7 +2,17 @@ kind: pipeline
 type: docker
 name: kptTmrGroup-server-publish
 
+
+clone:
+  depth: 1
+  disable: true
+
+
 steps:
+  - name: clone
+    image: alpine/git
+    commands:
+      - git clone -b develop http://192.168.1.8:3000/xuyiping/kpt-tmr-group.git
   - name: test
     image: golang:1.17
     commands: