更新 .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
root 2024-09-26 09:21:56 +08:00
parent 3b70742285
commit fb91cef9e9

View File

@ -31,11 +31,11 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
- git fetch origin - git fetch origin
- git reset --hard origin/master - git reset --hard origin/master
- git clean -fd - git clean -fd
- mvn package -Dmaven.test.skip=true - /root/apache-maven-3.9.4/bin/mvn package -Dmaven.test.skip=true
- cd yudao-server - cd yudao-server
- chmod +x push.sh - chmod +x push.sh
- ./push.sh - ./push.sh
- scp ./run.sh root@1.14.205.126:/zymail - scp run.sh root@1.14.205.126:/zymail/build
# - ls # - ls
# - scp -r /zymail/maven/build root@1.14.205.126:/zymail # - scp -r /zymail/maven/build root@1.14.205.126:/zymail
# - ssh root@1.14.205.126 # - ssh root@1.14.205.126