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 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"