zhangys36 2 éve
szülő
commit
39f0d21955
1 módosított fájl, 12 hozzáadás és 12 törlés
  1. 12 12
      .drone.yml

+ 12 - 12
.drone.yml

@@ -17,12 +17,12 @@ steps:
   - name: removeFiles
     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-web.iamsee.com/release
+        - cd /www/wwwroot/railway-web.ninecase.top/release
         - pwd
         - chattr -i dist/.user.ini
 #        - rm -rf dist
@@ -30,14 +30,14 @@ 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-web.iamsee.com/release
-        - /www/wwwroot/railway-web.iamsee.com/release
-        - /www/wwwroot/railway-web.iamsee.com/release
+        - /www/wwwroot/railway-web.ninecase.top/release
+        - /www/wwwroot/railway-web.ninecase.top/release
+        - /www/wwwroot/railway-web.ninecase.top/release
       source:
         - dist
         - nginx-conf
@@ -50,12 +50,12 @@ steps:
     settings:
       host: gdsc.ninecase.top
       username: root
-      password: $jgkj001
+      password: $Jgkj1234
       debug: true
       script:
-        - cp -r /www/wwwroot/railway-web.iamsee.com/工区DXF /www/wwwroot/railway-web.iamsee.com/release/dist/static/
-        - cp -r /www/wwwroot/railway-web.iamsee.com/工区所亭DXF /www/wwwroot/railway-web.iamsee.com/release/dist/static/
-        - cd /www/wwwroot/railway-web.iamsee.com/release
+        - cp -r /www/wwwroot/railway-web.ninecase.top/工区DXF /www/wwwroot/railway-web.ninecase.top/release/dist/static/
+        - cp -r /www/wwwroot/railway-web.ninecase.top/工区所亭DXF /www/wwwroot/railway-web.ninecase.top/release/dist/static/
+        - cd /www/wwwroot/railway-web.ninecase.top/release
         - docker build -t iamsee/railway-web:1.0.0 .
         - docker save -o railway-web@1.0.0.tar iamsee/railway-web:1.0.0
 volumes: