Added deployment to ci
This commit is contained in:
parent
92a2f35998
commit
4fba8136fe
30
.drone.yml
30
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue