From e29c8bad8965efd8510a1bbed89b93bd3793385e Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 4 Mar 2019 18:11:43 +0100 Subject: [PATCH] ssh key --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 264ceb5..faf176d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,9 @@ steps: - name: copy image: appleboy/drone-scp - secrets: [ ssh_key ] + environment: + PLUGIN_KEY: + from_secret: ssh_key settings: host: nicco.io username: root @@ -33,7 +35,9 @@ steps: - name: run image: appleboy/drone-ssh - secrets: [ ssh_key ] + environment: + PLUGIN_KEY: + from_secret: ssh_key settings: host: nicco.io username: root