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/ }