diff --git a/.drone.yml b/.drone.yml index 5c72261..7c2875f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,20 +35,16 @@ steps: - name: deploy code image: appleboy/drone-ssh volumes: - - name: ssh_key - path: /root/drone_rsa + - /home/repo/drone/id_rsa.kubehost:/root/ssh/id_rsa.drone + key_path: /root/ssh/id_rsa.drone settings: host: bosub-kub-int.metacoaching.pro username: mtc port: 21022 - key_path: /root/drone_rsa/id_rsa.kubehost + key_path: /root/ssh/id_rsa.drone script: - echo "Target host name :\ `hostname`" volumes: - name: deps temp: {} -- name: ssh_key - host: - path: /home/repo/drone -