Added deployment to ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Dominic Grimm 2022-02-17 18:37:28 +01:00
parent 92a2f35998
commit 4fba8136fe

View file

@ -94,3 +94,33 @@ volumes:
- name: dockersock
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: deploy
steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host:
from_secret: docs_deploy_ssh_host
username:
from_secret: docs_deploy_ssh_user
password:
from_secret: docs_deploy_ssh_password
port: 22
script:
- echo "Hello World!"
depends_on:
- default
- backend
- frontend
trigger:
event:
- promote
target:
- production