kuvia2/.drone.yml
kekskurse f05098621e
All checks were successful
continuous-integration/drone/push Build is passing
Create S3 buicket if not exists
2022-01-15 01:28:02 +01:00

29 lines
No EOL
622 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- make build
- name: docker
image: plugins/docker
settings:
repo: kekskurse/kuvia
username: kekskurse
password:
from_secret: docker_password
- name: ssh commands
image: appleboy/drone-ssh
settings:
host: green.keks.cloud
username: kekskurse
port: 65223
key:
from_secret: ssh_key
script:
- cd ~/kuvia-beta;sudo docker-compowe down kuvia
- sudo docker pull kekskurse/kuvia
- cd ~/kuvia-beta;sudo docker-compowe up -d kuvia