소스 검색

drone: edit cicd

Yi 1 년 전
부모
커밋
4ebd1f9e0b
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      .drone.yml

+ 8 - 0
.drone.yml

@@ -2,7 +2,15 @@ kind: pipeline
 type: docker
 name: tmp-group-admin
 
+clone:
+  depth: 1
+  disable: true
 steps:
+  - name: clone
+    image: alpine/git
+    commands:
+      - git clone -b develop http://192.168.1.8:3000/duanxiaoduan/tmr-group-admin.git
+      - cp -R tmr-group-admin/* ./
   - name: build
     image: plugins/docker
     volumes: