Browse Source

测试 drone

liql 2 years ago
parent
commit
322dd20b4d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drone.yml

+ 2 - 0
drone.yml

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