👷 Allow deploy steps only for master branch

master
Maxim Lebedev 6 months ago
parent dc7f0481b0
commit 27fee626fe
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
  1. 18
      build/ci/drone.yml

@ -38,10 +38,8 @@ steps:
depends_on:
- build
when:
event:
- promote
target:
- production
branch:
- master
- name: delivery
image: appleboy/drone-scp
@ -62,10 +60,8 @@ steps:
depends_on:
- stop-service
when:
event:
- promote
target:
- production
branch:
- master
- name: start-service
image: appleboy/drone-ssh
@ -80,10 +76,8 @@ steps:
depends_on:
- delivery
when:
event:
- promote
target:
- production
branch:
- master
volumes:
- name: modules

Loading…
Cancel
Save