Production Build is not able to deploy

Erik Schlegel's Avatar

Erik Schlegel

22 Sep, 2015 06:38 PM

We are currently running into issues with deploying our prod build to the target host . The error we're receiving is listed below
Skip "WebDeploy" deployment as no branches matched (build branch is "master", deploy on branches "master-staging")

We have two deployments setup, one that deploys to Target A for anything pushed in the master branch, and Target B for anything thats pushed in the master-staging branch.

Thanks in advance for your assistance,


  1. Support Staff 1 Posted by Feodor Fitsner on 22 Sep, 2015 06:43 PM

    Feodor Fitsner's Avatar

    Hi Erik,

    This is because appveyor.yml is getting copied from master-staging branch to master and it has a setting to deploy on master-staging, but should be master.

    You should better setup two configurations for those branches in one appveyor.yml:

  2. 2 Posted by Erik Schlegel on 22 Sep, 2015 07:00 PM

    Erik Schlegel's Avatar

    Thanks… How should this be managed in the Settings tool? Should I add another configuration to the build matrix, and link the appropriate configs to the deployment via a deployment dependency?


  3. Support Staff 3 Posted by Feodor Fitsner on 22 Sep, 2015 07:14 PM

    Feodor Fitsner's Avatar

    It could be configured in appveyor.yml only. Export your UI settings to YML and start from it.

  4. 4 Posted by Erik Schlegel on 22 Sep, 2015 07:31 PM

    Erik Schlegel's Avatar

    That’s makes sense, but how does that file co-exist with us continuing to make changes to Settings as we don’t want to update appveyor.yml going forward for all settings across the project?

  5. Support Staff 5 Posted by Feodor Fitsner on 22 Sep, 2015 07:35 PM

    Feodor Fitsner's Avatar

    Well, it's either appveyor.yml or UI. When appveyor.yml exists UI settings are ignored. Your scenario is not possible to do on UI I'm afraid. Multi-branch configs are for appveyor.yml only.

    Theoretically, you can setup another project and set it to ignore all branches except X.

  6. 6 Posted by Erik Schlegel on 22 Sep, 2015 07:40 PM

    Erik Schlegel's Avatar

    Can Appveyor support multiple projects looking against the same GitHub repo?

  7. Support Staff 7 Posted by Feodor Fitsner on 22 Sep, 2015 07:41 PM

    Feodor Fitsner's Avatar


  8. 8 Posted by Erik Schlegel on 22 Sep, 2015 08:13 PM

    Erik Schlegel's Avatar

    Thanks for all your help. As we’d like to continue using the settings module to manage our continuous build/deploy projects, we decided to create a new project to split the two deployment targets between the master/master-staging branches.

    Our production site issue is resolved after doing this, so we’re all set.

    Thx again,


  9. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 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