Update '.drone.yml'

Reviewed-on: https://gitea.com/jolheiser/tmpl/pulls/8
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
pull/9/head v0.0.6
John Olheiser 2020-11-24 07:28:10 +08:00
parent 6ffc50dc06
commit 47ef9ea0be
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"