Browse Source

测试 drone

liql 2 years ago
parent
commit
4d6eafeda5
1 changed files with 5 additions and 4 deletions
  1. 5 4
      drone.yml

+ 5 - 4
drone.yml

@@ -20,10 +20,11 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
         - ls
         - mkdir -p /tmp/veterans_demo
         - cp -r /drone/src/* /tmp/veterans_demo/
-      script:
-        - mv /www/wwwroot/veterentry.hw.hongweisoft.com/ /tmp/$(uuidgen)
-        - mkdir -p /www/wwwroot/veterentry.hw.hongweisoft.com
-        - cp -r /mydata/node/build/veterans_demo/* /www/wwwroot/veterentry.hw.hongweisoft.com # 进入宿主机构建目录
+        - echo '=================================================================================================='
+      #script:
+      #  - mv /www/wwwroot/veterentry.hw.hongweisoft.com/ /tmp/$(uuidgen)
+      #  - mkdir -p /www/wwwroot/veterentry.hw.hongweisoft.com
+      #  - cp -r /mydata/node/build/veterans_demo/* /www/wwwroot/veterentry.hw.hongweisoft.com # 进入宿主机构建目录
 
 volumes:
   - name: node-build