Fix CI #8

Merged
jolheiser merged 1 commits from refs/pull/8/head into main 2020-11-23 23:28:10 +00:00
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"