changelog/.drone.yml
6543 56048d3f35 Fix CI (GOPROXY) (#26)
git: eol=lf

fix GoProxy for code.gitea.com

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/changelog/pulls/26
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Guillermo Prandi <guillep2k@noreply.gitea.io>
2020-01-24 16:14:30 +00:00

38 lines
535 B
YAML

---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: build
pull: always
image: golang:1.13
environment:
GOPROXY: https://goproxy.cn,direct
commands:
- go test -race
- name: discord
pull: always
image: appleboy/drone-discord:1
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
event:
- push
- tag
status:
- changed
- failure
trigger:
branch:
- master