Open yozman opened 8 years ago
I have the same issue, webhooks does not work with urls include ENVIRONMENT VARIABLES ? my travis.yml here: https://github.com/zixia/wechaty/blob/master/.travis.yml
Notifications don't have access to the environment variables.
@BanzaiMan thanks for point this out. It seems the document seems not clear enough, and lots of project use environment variables in notifications, like those:
I have 1 more question:
if I want to use gitter & docker hub webhooks in notifications, how could I protect my webhook key? or I must write plain text url in travis.yml?
--- update
I use after_success
with curl -X POST $URL
now, it looks better.
When I try to use Travis Environment variable which has url in it then it breaks the build.
databaseURL = "https://example.com"
The command "sed -i "s/EnvdatabaseURL/$databaseURL/g" src/app/config/config.ts" failed and exited with 1 during .
heyguys,
when I try to use webhook as string it works like this:
but when I try to replace the token
whatthefly
, useEnvironment Variables
like this:it doesn't work, I'm sure I have the right setting.
could you tell me what should I do to let it work?