Simplify sample config to work around bug in yamlenv
continuous-integration/drone/push Build is passing Details

It looks like yamlenv doesn't parse quite correctly and seems to think
the `:` removed in this diff is defining a new object.

I believe it has something to do with a change in yamlenv 0.6.0 to allow
interpolating env variables as yaml literals.

dcb1223159
This commit is contained in:
IamTheFij 2019-03-10 16:15:36 -07:00
parent 58b7cd2843
commit 7ea24b8a89
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ alerts:
-u "api:${MAILGUN_API_KEY}"
sms_down:
command: >
curl -s -X POST -F "Body=Failure: {monitor_name} has failed"
curl -s -X POST -F "Body=Failure! {monitor_name} has failed"
-F "From=${AVAILABLE_NUMBER}" -F "To=${MY_PHONE}"
"https://api.twilio.com/2010-04-01/Accounts/${ACCOUNT_SID}/Messages"
-u "${ACCOUNT_SID}:${AUTH_TOKEN}"