This commit is contained in:
parent
16eb5f4419
commit
0300720111
1 changed files with 5 additions and 14 deletions
11
.drone.yml
11
.drone.yml
|
@ -12,10 +12,8 @@ steps:
|
|||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- master
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
|
@ -28,11 +26,10 @@ steps:
|
|||
tags: latest
|
||||
dry_run: true
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
exclude:
|
||||
- push
|
||||
- name: dev docker
|
||||
image: plugins/docker
|
||||
|
@ -45,10 +42,8 @@ steps:
|
|||
tags: dev
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- dev
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
|
@ -64,10 +59,8 @@ steps:
|
|||
- cd /root && docker-compose pull shbot && docker-compose up -d shbot
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- master
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
- name: deploy dev
|
||||
image: appleboy/drone-ssh
|
||||
|
@ -83,8 +76,6 @@ steps:
|
|||
- cd /root && docker-compose -f shbot-dev.yaml pull shbot-dev && docker-compose -f shbot-dev.yaml up -d shbot-dev
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- dev
|
||||
event:
|
||||
include:
|
||||
- push
|
Loading…
Reference in a new issue