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