Update '.drone.yml'

pull/8/head
John Olheiser 2020-11-24 07:25:51 +08:00
parent 6ffc50dc06
commit 818d133777
1 changed files with 8 additions and 5 deletions

View File

@ -96,8 +96,11 @@ platform:
arch: amd64
trigger:
event:
- tag
ref:
include:
- refs/tags/*
exclude:
- refs/tags/latest
steps:
- name: build
@ -119,13 +122,13 @@ steps:
- make build
- name: gitea-release
pull: always
image: jolheiser/drone-gitea-main:latest
image: plugins/gitea-release:1
environment:
GOPROXY: https://goproxy.cn
settings:
token:
api_key:
from_secret: gitea_token
base: https://gitea.com
base_url: https://gitea.com
files:
- "tmpl"
- "tmpl.exe"