|
@@ -32,6 +32,17 @@ steps:
|
|
|
repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/tmr-admin
|
|
|
registry: registry.cn-hangzhou.aliyuncs.com
|
|
|
tags: [test]
|
|
|
+ - name: ssh commands
|
|
|
+ image: appleboy/drone-ssh
|
|
|
+ settings:
|
|
|
+ host: 192.168.1.70
|
|
|
+ username: tmrwatch
|
|
|
+ password:
|
|
|
+ from_secret: ssh_password
|
|
|
+ port: 22
|
|
|
+ script:
|
|
|
+ - cd /data/docker-compose/calf-feed-admin/
|
|
|
+ - echo "123456" | ./restart.sh
|
|
|
trigger:
|
|
|
branch:
|
|
|
include:
|