summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-07-01 03:32:50 -0400
committerLauris BH <lauris@nix.lv>2019-07-01 10:32:50 +0300
commit5f25558ac2225ef444d8987c61e0337d44a020ef (patch)
treeaf9e92a7686fb68c2dfee69d3726442368b5e7d4 /.drone.yml
parent1772c6b94d8e1a574d29643a33f1c0dbc0fdbe6f (diff)
downloadgitea-5f25558ac2225ef444d8987c61e0337d44a020ef.tar.gz
gitea-5f25558ac2225ef444d8987c61e0337d44a020ef.zip
fix updated drone file (#7336)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml
index 0e2d9845db..9c07599940 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -354,6 +354,7 @@ steps:
image: techknowlogick/xgo:latest
commands:
- export PATH=$PATH:$GOPATH/bin
+ - make generate
- make release
environment:
TAGS: bindata sqlite sqlite_unlock_notify
@@ -455,6 +456,7 @@ steps:
image: techknowlogick/xgo:latest
commands:
- export PATH=$PATH:$GOPATH/bin
+ - make generate
- make release
environment:
TAGS: bindata sqlite sqlite_unlock_notify
@@ -519,12 +521,6 @@ workspace:
base: /go
path: src/code.gitea.io/gitea
-trigger:
- branch:
- - master
- event:
- - push
-
steps:
- name: build-docs
pull: always
@@ -544,6 +540,11 @@ steps:
environment:
NETLIFY_TOKEN:
from_secret: netlify_token
+ when:
+ branch:
+ - master
+ event:
+ - push
---
kind: pipeline
@@ -563,6 +564,10 @@ steps:
image: docker:git
commands:
- git fetch --tags --force
+ when:
+ event:
+ exclude:
+ - pull_request
- name: dryrun
pull: always