arns-lt-tree-push-service/.drone.yml

27 lines
354 B
YAML
Raw Normal View History

2022-08-15 19:49:29 +00:00
---
kind: pipeline
type: docker
2022-08-15 20:38:09 +00:00
name: testing
2022-08-15 19:49:29 +00:00
steps:
2022-08-15 20:38:09 +00:00
- name: build
image: golang
2022-08-15 19:49:29 +00:00
commands:
2022-08-15 20:01:51 +00:00
- go build
---
kind: pipeline
type: ssh
name: deploy
2022-08-15 20:16:30 +00:00
server:
host: c4230.l.dedikuoti.lt
user: root
2022-08-15 20:01:51 +00:00
settings:
id_rsa:
from_secret: ssh_private
2022-08-15 20:16:30 +00:00
depends_on:
2022-08-15 20:38:09 +00:00
- testing
2022-08-15 20:01:51 +00:00
steps:
- name: deploy
commands:
- /opt/arns/deploy_push_file_service.sh