overriding settings while deploying from build

Dorin Oltean's Avatar

Dorin Oltean

21 Jul, 2017 12:04 PM

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

- provider: Environment
  name: VM_SERVER_47
    branch: master-solrvnext
    muninweb_deploy: false
    btasks_deploy: false
    muninwebapi_deploy: false
    muninwebserviceapi_site_name: MuninWebServiceApiSolrvNext
    muninwebservice_site_name: MuninWebServiceAsmxSolrvNext

  1. 1 Posted by Ilya Finkelshte... on 23 Jul, 2017 12:53 AM

    Ilya Finkelshteyn's Avatar

    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_deploy environment variable and start deployment only if it is false. 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/on to deploy.


  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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