xiehuanqun 1 month ago
parent
commit
1c03f140cd
1 changed files with 12 additions and 12 deletions
  1. 12 12
      .drone.yml

+ 12 - 12
.drone.yml

@@ -62,11 +62,11 @@ steps:
     settings:
     settings:
       port: 22
       port: 22
       host:
       host:
-        from_secret: test_ssh_host
+        from_secret: ssh_host
       username:
       username:
-        from_secret: test_ssh_username
+        from_secret: ssh_user
       password:
       password:
-        from_secret: test_ssh_password
+        from_secret: ssh_pwd
       command_timeout: 5m
       command_timeout: 5m
       source:
       source:
         - target/test.jar
         - target/test.jar
@@ -83,11 +83,11 @@ steps:
     settings:
     settings:
       port: 22
       port: 22
       host:
       host:
-        from_secret: test_ssh_host
+        from_secret: ssh_host
       username:
       username:
-        from_secret: test_ssh_username
+        from_secret: ssh_user
       password:
       password:
-        from_secret: test_ssh_password
+        from_secret: ssh_pwd
       command_timeout: 1m
       command_timeout: 1m
       script:
       script:
         - cd /home/TestApp
         - cd /home/TestApp
@@ -104,11 +104,11 @@ steps:
     settings:
     settings:
       port: 22
       port: 22
       host:
       host:
-        from_secret: test_ssh_host
+        from_secret: ssh_host
       username:
       username:
-        from_secret: test_ssh_username
+        from_secret: ssh_user
       password:
       password:
-        from_secret: test_ssh_password
+        from_secret: ssh_pwd
       command_timeout: 5m
       command_timeout: 5m
       source:
       source:
         - target/test-dev.jar
         - target/test-dev.jar
@@ -122,11 +122,11 @@ steps:
     settings:
     settings:
       port: 22
       port: 22
       host:
       host:
-        from_secret: test_ssh_host
+        from_secret: ssh_host
       username:
       username:
-        from_secret: test_ssh_username
+        from_secret: ssh_user
       password:
       password:
-        from_secret: test_ssh_password
+        from_secret: ssh_pwd
       command_timeout: 1m
       command_timeout: 1m
       script:
       script:
         - cd /home/TestAppDev
         - cd /home/TestAppDev