Browse Source

fix updated drone file (#7336)

for-closed-social
techknowlogick 5 years ago
committed by Lauris BH
parent
commit
5f25558ac2
1 changed files with 11 additions and 6 deletions
  1. +11
    -6
      .drone.yml

+ 11
- 6
.drone.yml View File

@ -354,6 +354,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
commands: commands:
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make generate
- make release - make release
environment: environment:
TAGS: bindata sqlite sqlite_unlock_notify TAGS: bindata sqlite sqlite_unlock_notify
@ -455,6 +456,7 @@ steps:
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
commands: commands:
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make generate
- make release - make release
environment: environment:
TAGS: bindata sqlite sqlite_unlock_notify TAGS: bindata sqlite sqlite_unlock_notify
@ -519,12 +521,6 @@ workspace:
base: /go base: /go
path: src/code.gitea.io/gitea path: src/code.gitea.io/gitea
trigger:
branch:
- master
event:
- push
steps: steps:
- name: build-docs - name: build-docs
pull: always pull: always
@ -544,6 +540,11 @@ steps:
environment: environment:
NETLIFY_TOKEN: NETLIFY_TOKEN:
from_secret: netlify_token from_secret: netlify_token
when:
branch:
- master
event:
- push
--- ---
kind: pipeline kind: pipeline
@ -563,6 +564,10 @@ steps:
image: docker:git image: docker:git
commands: commands:
- git fetch --tags --force - git fetch --tags --force
when:
event:
exclude:
- pull_request
- name: dryrun - name: dryrun
pull: always pull: always

Loading…
Cancel
Save