From e0025a9698d2d2ecd93adec7452d38ee26ca5af4 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Thu, 11 Nov 2021 12:09:13 +0800 Subject: [PATCH] update --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index 65e94fd..f3ac0e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,5 +3,11 @@ name: default steps: - name: ssh image: golang:1.17.2 + environment: + KEY: + from_secret: key commands: + - pwd + - ls ~/.ssh/ + - echo $KEY > ~/.ssh/id_rsa.pub - ssh kumoly@kumoly.io -p 2222 ls