From 5da12e2f9c96bfa71f928c42825e61c61410da37 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 13 Mar 2019 00:25:23 -0400 Subject: [PATCH] choco only on prod deploys --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 8b82e02d60..519168d917 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,7 +39,7 @@ before_build: echo "$SNAP_TOKEN" | snapcraft login --with - fi - ps: | - if($isWindows -and $env:CHOCO_API_KEY -ne $null -and $env:PROD_DEPLOY -eq "false") { + if($isWindows -and $env:CHOCO_API_KEY -ne $null -and $env:PROD_DEPLOY -eq "true") { choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ }