fix(CI): 调整drone-ssh使用官方
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
0cb6db8622
commit
a0b1bb7ace
11
.drone.yml
11
.drone.yml
|
|
@ -28,6 +28,17 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- example1.com
|
||||||
|
- example2.com
|
||||||
|
username: ubuntu
|
||||||
|
password:
|
||||||
|
from_secret: ssh_password
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
script:
|
||||||
|
- echo "Hello World"
|
||||||
# settings:
|
# settings:
|
||||||
# host: 192.168.31.104
|
# host: 192.168.31.104
|
||||||
# port: 22
|
# port: 22
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue