From 9e20f15991417b41e9f4cb8f722ef28df1909bc7 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 4 Jan 2021 19:08:56 +0100 Subject: [PATCH 1/2] Moved ssh username and address to drone variables. --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6d13b33..020bb46 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,8 @@ steps: pull: true secrets: - ssh_key + - user + - host_address when: event: - push @@ -33,8 +35,10 @@ steps: - drone-test status: success settings: - host: 10.0.0.58 - username: root + host: + from_secret: host_address + username: + from_secret: user key: from_secret: ssh_key command_timeout: 600s From a6ec207769ca6f123c85f0bbb559b839324a11d7 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 4 Jan 2021 19:23:11 +0100 Subject: [PATCH 2/2] Renamed build step. --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 020bb46..ab23aab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,8 @@ steps: commands: - node -v - yarn --version -- name: backend_build + +- name: frontend_build image: node:14 commands: - node -v