Is there a way to pause automatic deployments to an environment?
I want to be able to pause all automatic deployments to our staging server during testing (at the moment all valid builds are deployed straight to testing). This is for when we're running a testing cycle and don't want dev happening on a future release to be deployed during testing.
I've searched and looked around but haven't been able to find anything on it.
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 07 Feb, 2018 12:01 AM
Please check https://www.appveyor.com/docs/deployment/#conditional-deployment. If "dev happening on a future release" is using another branch, this should be very straightforward. Otherwise you might need to introduce some special environment variable to use as a deployment condition.
2 Posted by ben on 07 Feb, 2018 12:03 AM
Thanks Ilya. I think I should set it so only develop and release branches are deployed to staging, which will solve my issue.
ben closed this discussion on 07 Feb, 2018 12:03 AM.
ben re-opened this discussion on 07 Feb, 2018 12:20 AM
3 Posted by ben on 07 Feb, 2018 12:26 AM
Is there a way that I can specify multiple branches? Ideally I want to specify 'develop' and 'release/*' so commits to develop or any release branch (we append them with the release number).
I've tried a few things but to no avail.
4 Posted by Ilya Finkelshte... on 07 Feb, 2018 01:36 AM
Please check http://help.appveyor.com/discussions/problems/5538-conditional-depl...
5 Posted by ben on 07 Feb, 2018 03:00 AM
Perfect thank you. Everything is working perfectly.
ben closed this discussion on 07 Feb, 2018 03:00 AM.