Arnas Udovič
c48b8c6531
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
365 B
YAML
31 lines
365 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: testing
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
|
|
---
|
|
kind: pipeline
|
|
type: ssh
|
|
name: deploy
|
|
|
|
server:
|
|
host:
|
|
from_secret: host
|
|
user:
|
|
from_secret: username
|
|
ssh_key:
|
|
from_secret: ssh_private
|
|
|
|
steps:
|
|
- name: deploy
|
|
commands:
|
|
- /opt/arns/deploy_push_file_service.sh
|
|
|
|
depends_on:
|
|
- testing
|