From fbdd2bcbd204115b7c50ae99f234d3063a6816cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnas=20Udovi=C4=8D?= Date: Mon, 15 Aug 2022 20:52:48 +0000 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 90da7c0..8b77f4e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,9 @@ --- + kind: pipeline type: docker name: testing + steps: - name: build image: golang @@ -9,17 +11,24 @@ steps: - go build --- + kind: pipeline type: ssh name: deploy + server: - host: c4230.l.dedikuoti.lt - user: root + host: + from_secret: host + user: + from_secret: username + settings: id_rsa: from_secret: ssh_private + depends_on: - testing + steps: - name: deploy commands: