|
@@ -42,17 +42,17 @@ steps:
|
|
|
- name: scp_files
|
|
- name: scp_files
|
|
|
image: appleboy/drone-scp
|
|
image: appleboy/drone-scp
|
|
|
settings:
|
|
settings:
|
|
|
- host: 172.17.0.1
|
|
|
|
|
|
|
+ host: 172.16.0.28
|
|
|
username: root
|
|
username: root
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|
|
|
- target: /www/wwwroot/railway.iamsee.com/release
|
|
|
|
|
|
|
+ target: /www/wwwroot/railway.ninecase.top/release
|
|
|
source: railway-admin/target/railway-admin.jar
|
|
source: railway-admin/target/railway-admin.jar
|
|
|
rm: true
|
|
rm: true
|
|
|
- name: deploy
|
|
- name: deploy
|
|
|
image: appleboy/drone-ssh
|
|
image: appleboy/drone-ssh
|
|
|
settings:
|
|
settings:
|
|
|
- host: drone.iamsee.com
|
|
|
|
|
|
|
+ host: drone.ninecase.top
|
|
|
username: root
|
|
username: root
|
|
|
password: $jgkj001
|
|
password: $jgkj001
|
|
|
debug: true
|
|
debug: true
|
|
@@ -61,7 +61,7 @@ steps:
|
|
|
- echo $PATH
|
|
- echo $PATH
|
|
|
- export LANG="en_US.UTF-8"
|
|
- export LANG="en_US.UTF-8"
|
|
|
- pkill -9 java
|
|
- pkill -9 java
|
|
|
- - nohup java -jar /www/wwwroot/railway.iamsee.com/release/railway-admin/target/railway-admin.jar --spring.profiles.active=dev -Ddruid.mysql.usePingMethod=false > /www/wwwroot/railway.iamsee.com/out.log 2>&1 &
|
|
|
|
|
|
|
+ - nohup java -jar /www/wwwroot/railway.ninecase.top/release/railway-admin/target/railway-admin.jar --spring.profiles.active=dev -Ddruid.mysql.usePingMethod=false > /www/wwwroot/railway.iamsee.com/out.log 2>&1 &
|
|
|
trigger:
|
|
trigger:
|
|
|
branch:
|
|
branch:
|
|
|
- dev
|
|
- dev
|