From c3a63307b87f893c5dc651828e1a78a1f98f65a7 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 22 Sep 2020 10:48:55 +0100 Subject: [PATCH] . --- .drone/drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone/drone.yml b/.drone/drone.yml index 0e5ad2c..d4361ce 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -43,8 +43,9 @@ steps: - drone_server_host - drone_gitea_client_secret - drone_rpc_secret + ssh_key1 host: ${SSH_HOST} - key: ${SSH_KEY} + #key: ${SSH_KEY} #password: ${PASSWORD} #passphrase: ${SSH_PASSPHRASE} port: 2022 @@ -52,6 +53,7 @@ steps: - rm -f env-drone - cat /proc/sys/kernel/hostname - ip a + - "echo \"export SSH_KEY1='$${SSH_KEY1}'\" >> env-drone # \"registry-domain\"" - "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\"" - "echo \"export REGISTRY_PORT='$${REGISTRY_PORT}'\" >> env-drone # \"registry-port\"" - "echo \"export REGISTRY_PASSWORD='$${REGISTRY_PASSWORD}'\" >> env-drone # \"registry-password\"" @@ -87,14 +89,14 @@ steps: from_secret: registry-port SSH_HOST: from_secret: ssh-host - SSH_KEY: + SSH_KEY1: from_secret: ssh-key SSH_PORT: from_secret: ssh-port SSH_USER: from_secret: ssh-user - #PASSWORD: - # from_secret: ssh-password + SSH_PASSWORD: + from_secret: ssh-password - name: scp image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47