This commit is contained in:
parent
ac5b0c4312
commit
fbdd2bcbd2
1 changed files with 11 additions and 2 deletions
13
.drone.yml
13
.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:
|
||||
|
|
Loading…
Reference in a new issue