zhangys36 2 سال پیش
والد
کامیت
635b677423
1فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 10 10
      .drone.yml

+ 10 - 10
.drone.yml

@@ -42,13 +42,13 @@ steps:
   - name: scp_files
     image: appleboy/drone-scp
     settings:
-      host: 172.17.0.1
+      host: 172.16.0.28
       username: root
-      password: $jgkj001
+      password: $Jgkj1234
       debug: true
       target:
-        - /www/wwwroot/railway.iamsee.com/release
-        - /www/wwwroot/railway.iamsee.com/release
+        - /www/wwwroot/railway.ninecase.top/release
+        - /www/wwwroot/railway.ninecase.top/release
       source:
         - railway-admin/target/railway-admin.jar
         - Dockerfile
@@ -56,25 +56,25 @@ steps:
   - name: deploy
     image:  appleboy/drone-ssh
     settings:
-      host: drone.iamsee.com
+      host: 172.16.0.28
       username: root
-      password: $jgkj001
+      password: $Jgkj1234
       debug: true
       script:
         - export PATH=/usr/local/bin:$PATH
         - echo $PATH
         - export LANG="en_US.UTF-8"
         - 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.ninecase.top/out.log 2>&1 &
   - name: deploy-build-image
     image: appleboy/drone-ssh
     settings:
-      host: gdsc.ninecase.top
+      host: 172.16.0.28
       username: root
-      password: $jgkj001
+      password: $Jgkj1234
       debug: true
       script:
-        - cd /www/wwwroot/railway.iamsee.com/release
+        - cd /www/wwwroot/railway.ninecase.top/release
         - docker build -t iamsee/railway-admin:1.0.0 .
         - docker save -o railway-admin@1.0.0.tar iamsee/railway-admin:1.0.0
 trigger: