discord-buttsbot-go/.drone.yml

22 lines
428 B
YAML
Raw Normal View History

2019-04-27 02:36:38 +00:00
kind: pipeline
name: default
workspace:
base: /go
path: src/discord-buttsbot-go
steps:
- name: test
image: golang
environment:
DISCORD_TOKEN:
from_secret: discord_token
commands:
- go get
- go build
- ./discord-buttsbot-go -test
2019-04-27 02:36:38 +00:00
- name: discord
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token