Add logic to restart services to CD config
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

master 0.1.0-rc5
Garrett Mills 4 years ago
parent cf97c68033
commit 96a614c1af
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -30,6 +30,24 @@ steps:
event:
- tag
- promote
- name: restart production services
image: appleboy/drone-ssh
settings:
host:
from_secret: deploy_ssh_host
username:
from_secret: deploy_ssh_admin_user
key:
from_secret: deploy_ssh_key
port:
from_secret: deploy_ssh_port
script:
- systemctl restart coreid-www
- systemctl restart coreid-jobs
when:
event:
- tag
- promote
- name: send success notifications
image: plugins/webhook
settings:

Loading…
Cancel
Save