diff --git a/.drone.yml b/.drone.yml index eca2c63..85c54a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,10 +11,11 @@ steps: - go build - name: Run image: golang + environment: + DISCORD_TOKEN: + from_secret: discord_token commands: - - echo $${SECRET_MESSAGE} - ./Phasmobot -t $${DISCORD_TOKEN} - secrets: [ discord_token, secret_message ] when: branch: - deploy