Conditional deployment
I have a somewhat complicated deployment process, which includes
pre-deployment script, deployment provider, and post-deployment
script. I want all of this to happen only when build is triggered
from master
so that only stable version would get
deployed.
As far as I can see, now I can only set deployment condition
only for specific deployment provider (but, for example, when build
is triggered by Pull Request, whole deployment is skipped), so I
had to wrap all the pre/post deployment scripts in
If($Env:APPVEYOR_REPO_BRANCH -eq 'master')
I think that it'd be handy to have a deployment-tab-wide condition that'd apply to all deployment providers and scripts.
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
Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2015 01:00 AM
That makes sense. Thanks for the suggestion!
2 Posted by lair on 28 Jun, 2015 11:20 AM
Is there any place that we can watch to know when/if this would be implemented?
Support Staff 3 Posted by Feodor Fitsner on 29 Jun, 2015 05:07 AM
You can file an issue here: https://github.com/appveyor/ci/issues
4 Posted by lair on 29 Jun, 2015 08:26 AM
Oh, thank you for the direction.
https://github.com/appveyor/ci/issues/317
lair closed this discussion on 29 Jun, 2015 08:29 AM.