|
|
@ -30,9 +30,8 @@ steps:
|
|
|
|
- git pull
|
|
|
|
- git pull
|
|
|
|
- yarn install
|
|
|
|
- yarn install
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
event: promote
|
|
|
|
- tag
|
|
|
|
target: production
|
|
|
|
- promote
|
|
|
|
|
|
|
|
- name: restart production services
|
|
|
|
- name: restart production services
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
@ -48,9 +47,8 @@ steps:
|
|
|
|
- systemctl restart coreid-www
|
|
|
|
- systemctl restart coreid-www
|
|
|
|
- systemctl restart coreid-jobs
|
|
|
|
- systemctl restart coreid-jobs
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
event: promote
|
|
|
|
- tag
|
|
|
|
target: production
|
|
|
|
- promote
|
|
|
|
|
|
|
|
- name: send success notifications
|
|
|
|
- name: send success notifications
|
|
|
|
image: plugins/webhook
|
|
|
|
image: plugins/webhook
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|