From 1cd9a09d6ef9b3faa75c2f4549cd1962ad074be7 Mon Sep 17 00:00:00 2001 From: mahdi Date: Thu, 14 Dec 2023 01:06:40 +0100 Subject: [PATCH] devops - drone test --- .drone.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 -