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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: testing
|
name: testing
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
|
@ -9,17 +11,24 @@ steps:
|
||||||
- go build
|
- go build
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: ssh
|
type: ssh
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
server:
|
server:
|
||||||
host: c4230.l.dedikuoti.lt
|
host:
|
||||||
user: root
|
from_secret: host
|
||||||
|
user:
|
||||||
|
from_secret: username
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
id_rsa:
|
id_rsa:
|
||||||
from_secret: ssh_private
|
from_secret: ssh_private
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- testing
|
- testing
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue