This commit is contained in:
parent
e753423957
commit
f9c496d158
1 changed files with 6 additions and 13 deletions
19
.drone.yml
19
.drone.yml
|
@ -1,7 +1,7 @@
|
|||
kind: pipeline
|
||||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
|
@ -13,8 +13,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -26,11 +24,9 @@ steps:
|
|||
tags: latest
|
||||
dry_run: true
|
||||
when:
|
||||
exclude:
|
||||
branch:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- name: dev docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
@ -43,8 +39,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- dev
|
||||
event:
|
||||
- push
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
|
@ -60,8 +54,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- name: deploy dev
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
|
@ -77,5 +69,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- dev
|
||||
event:
|
||||
- push
|
||||
when:
|
||||
event:
|
||||
- push
|
Loading…
Reference in a new issue