From 71980977ac1dc1f46e2fa59f52d4ad412a36942b Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 01:20:34 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d950ad8..21774f6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,13 +35,12 @@ steps: - name: deploy code image: appleboy/drone-ssh volumes: - - name: ssh_key - path: /root/drone_rsa + - /home/repo/id_rsa.kubehost:/root/.ssh/id_rsa 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.kubehost script: - echo "Target host name :\ `hostname`"