Browse Source

测试 drone

liql 2 years ago
parent
commit
759a9556e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drone.yml

+ 1 - 1
drone.yml

@@ -28,7 +28,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
       script:
         - mv /www/wwwroot/vetergatewayweb.hw.hongweisoft.com/ /tmp/$(uuidgen)
         - cd /www/wwwroot/vetergatewayweb.hw.hongweisoft.com
-        - rm -rf !(chat)
+        - ls ./ | egrep -v chat | xargs rm -rf
         - cp -r /mydata/node/build/veterans_client_web/test-dist/* /www/wwwroot/vetergatewayweb.hw.hongweisoft.com # 进入宿主机构建目录
 
 volumes: