Arnas Udovič
298b8ae46a
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
357 B
YAML
31 lines
357 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:
|
|
- echo Nu?
|
|
- /opt/arns/deploy_push_file_service.sh
|