浏览代码

Merge branch 'feature/drone' of duanxiaoduan/tmr-admin into develop

duanxiaoduan 1 年之前
父节点
当前提交
8f2d22449c
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      .drone.yml

+ 11 - 0
.drone.yml

@@ -2,7 +2,18 @@ kind: pipeline
 type: docker
 name: tmp-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-admin.git
+     - pwd
+     - cp -R tmr-admin/* ./
+     - ls -l
   - name: build
     image: plugins/docker
     volumes: