From 917dcf8be3d7f764cb62f80de90412d4494bce6d Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Tue, 22 Sep 2020 11:08:01 +0100 Subject: [PATCH] . --- .drone/drone.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone/drone.yml b/.drone/drone.yml index 6781a37..338d9fe 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -43,11 +43,11 @@ steps: - drone_server_host - drone_gitea_client_secret - drone_rpc_secret - host: ${SSH_HOST} + #host: ${SSH_HOST} #key: ${SSH_KEY} #password: ${PASSWORD} #passphrase: ${SSH_PASSPHRASE} - port: 2022 + #port: 2022 script: - rm -f env-drone - cat /proc/sys/kernel/hostname @@ -68,7 +68,6 @@ steps: - "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\"" - "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\"" - cat env-drone - username: ${SSH_USER} environment: DOMAIN: from_secret: domain @@ -90,15 +89,13 @@ steps: from_secret: registry-port SSH_HOST: from_secret: ssh-host - SSH_KEY1: + SSH_KEY: from_secret: ssh-key SSH_PORT: from_secret: ssh-port - SSH_USER: + SSH_USERNAME: from_secret: ssh-user - SSH_PASSWORD: - from_secret: ssh-password - + - name: scp image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47 settings: