|
@@ -39,6 +39,19 @@ steps:
|
|
|
# - ${DRONE_COMMIT}
|
|
# - ${DRONE_COMMIT}
|
|
|
# - v1
|
|
# - v1
|
|
|
# - latest
|
|
# - latest
|
|
|
|
|
+ - name: scp_files
|
|
|
|
|
+ image: appleboy/drone-scp
|
|
|
|
|
+ settings:
|
|
|
|
|
+ host:
|
|
|
|
|
+ - deploy.iamsee.com
|
|
|
|
|
+ username: root
|
|
|
|
|
+ password:
|
|
|
|
|
+ from_secret: $jgkj001
|
|
|
|
|
+ port: 22
|
|
|
|
|
+ command_timeout: 2m
|
|
|
|
|
+ target: /www/wwwroot/railway.iamsee.com
|
|
|
|
|
+ source:
|
|
|
|
|
+ - railway/target/railway.jar
|
|
|
- name: deploy
|
|
- name: deploy
|
|
|
image: appleboy/drone-ssh
|
|
image: appleboy/drone-ssh
|
|
|
settings:
|
|
settings:
|