Browse Source

Update drone to use promotions for prod

master
Garrett Mills 4 months ago
parent
commit
a8729930e6
Signed by: garrettmills GPG Key ID: D2BF5FBA8298F246
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      .drone.yml

+ 4
- 6
.drone.yml View File

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


Loading…
Cancel
Save