Base Drone setup

pull/1/head
pocketjawa 2019-04-26 22:36:38 -04:00
parent 7940f2f678
commit 51fefbf7c6
1 changed files with 22 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
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
- name: discord
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token