2 Commits bdbbcfaed4 ... 0614ee21f9

Author SHA1 Message Date
  liql 0614ee21f9 Merge remote-tracking branch 'origin/master' 2 years ago
  liql efba9ab4eb 测试 drone 2 years ago
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drone.yml

+ 2 - 1
drone.yml

@@ -27,7 +27,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
       command_timeout: 5m # 远程执行命令超时时间
       script:
         - mv /www/wwwroot/vetergatewayweb.hw.hongweisoft.com/ /tmp/$(uuidgen)
-        - mkdir -p /www/wwwroot/vetergatewayweb.hw.hongweisoft.com
+        - cd /www/wwwroot/vetergatewayweb.hw.hongweisoft.com
+        - rm -rf !(chat)
         - cp -r /mydata/node/build/veterans_client_web/test-dist/* /www/wwwroot/vetergatewayweb.hw.hongweisoft.com # 进入宿主机构建目录
 
 volumes: