Only deploy pull requests
Is is possible to run a deployment step only if it's a pull request or do I need to use a branch convention for that?
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 19 Dec, 2015 09:54 PM
You can add a condition to deployment, something like:
Support Staff 2 Posted by Feodor Fitsner on 19 Dec, 2015 09:56 PM
Oh, sorry, I've misread the question. Deployment is disabled for PRs, but you can allow deployment on PRs for private repositories only.
3 Posted by Marcus on 20 Dec, 2015 07:25 AM
Ok, so just to be clean, with a paid AppVeyor account I can deploy on PR:s, or do you mean a private GitHub repository?
Support Staff 4 Posted by Feodor Fitsner on 20 Dec, 2015 07:29 AM
I mean private GitHub repository.
With public repo anyone can do a PR and cause deployment which is a security issue.
5 Posted by Marcus on 20 Dec, 2015 11:38 AM
That's true.
Is it possible to add a condition like "only deploy open PR:s to the master branch" with a private repository?
Support Staff 6 Posted by Feodor Fitsner on 20 Dec, 2015 07:25 PM
Yes, you can add another condition:
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.