[SKIP CI] fix: drone please only push on master
This commit is contained in:
parent
9c34677bcd
commit
9a58783f1e
1 changed files with 7 additions and 7 deletions
14
.drone.yml
14
.drone.yml
|
@ -5,16 +5,18 @@ type: docker
|
|||
steps:
|
||||
- name: Build
|
||||
image: plugins/docker
|
||||
depends_on:
|
||||
- "clone"
|
||||
settings:
|
||||
repo: git.froth.zone/sam/drone-deno-deploy
|
||||
dry_run: true
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
depends_on:
|
||||
- "clone"
|
||||
- pull_request
|
||||
|
||||
- name: Build & Publish
|
||||
depends_on:
|
||||
- "clone"
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.froth.zone
|
||||
|
@ -25,8 +27,6 @@ steps:
|
|||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
depends_on:
|
||||
- "clone"
|
||||
- push
|
||||
|
|
Loading…
Reference in a new issue