overriding settings while deploying from build
I am trying to override settings while deploying from build but i get:
"Environment" deployment has been skipped as environment variable has not matched ("muninweb_deploy" is "", should be "false")
I attached a picture with my environment settings.
Below is is the yml deploy section
deploy:
- provider: Environment
name: VM_SERVER_47
on:
branch: master-solrvnext
muninweb_deploy: false
btasks_deploy: false
muninwebapi_deploy: false
muninwebserviceapi_site_name: MuninWebServiceApiSolrvNext
muninwebservice_site_name: MuninWebServiceAsmxSolrvNext
-
appveyor_env_settings.png
27.1 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by Ilya Finkelshte... on 23 Jul, 2017 12:53 AM
Hi Dorin,
You are probably want to override environment variables, but using conditional deployment syntax.
The way you wrote it in YAML, makes AppVeyor trying to find value of
muninwebapi_deployenvironment variable and start deployment only if it isfalse. However I don't believe you even define this variable during the build. Instead you just intend to pass it's value to the Environment deployment.If I understand situation correct, you need to move this (and probable few more variables) from
deploy/ontodeploy.Ilya.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.