Fix drone config
This commit is contained in:
@ -11,10 +11,11 @@ steps:
|
|||||||
- go build
|
- go build
|
||||||
- name: Run
|
- name: Run
|
||||||
image: golang
|
image: golang
|
||||||
|
environment:
|
||||||
|
DISCORD_TOKEN:
|
||||||
|
from_secret: discord_token
|
||||||
commands:
|
commands:
|
||||||
- echo $${SECRET_MESSAGE}
|
|
||||||
- ./Phasmobot -t $${DISCORD_TOKEN}
|
- ./Phasmobot -t $${DISCORD_TOKEN}
|
||||||
secrets: [ discord_token, secret_message ]
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user