From 6fe023822a80741425da53a7781f61b3dde290a1 Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 01:14:24 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6e6ca65..847a238 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,15 +35,19 @@ steps: - name: deploy code image: appleboy/drone-ssh volumes: - - /home/repo/drone/id_rsa.kubehost:/root/ssh/id_rsa.drone + - name: ssh_key + path: /root/drone_rsa settings: host: bosub-kub-int.metacoaching.pro username: mtc port: 21022 - key_path: /root/ssh/id_rsa.drone + key_path: /root/drone_rsa script: - echo "Target host name :\ `hostname`" volumes: - name: deps temp: {} +- name: ssh_key + host: + path: /home/drone/id_rsa.kubehost \ No newline at end of file