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: