From 343c1fbdbea110d9b4aca00c4182accb977d2202 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 16 Nov 2018 13:56:29 +0000 Subject: Azure: OK, turns out secret variables must be task args and otherwise aren't available to the running script --- scripts/deploy-azure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/deploy-azure.sh') diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh index 84509f461..8cb9fe770 100644 --- a/scripts/deploy-azure.sh +++ b/scripts/deploy-azure.sh @@ -23,7 +23,7 @@ if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTI docker push pythondiscord/bot:latest echo "Deploying container" - curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_WEBHOOK + curl -H "token: $1" $2 else echo "Skipping deploy" fi \ No newline at end of file -- cgit v1.2.3