Deployment only when Github PR gets approved?

Christian Olsen's Avatar

Christian Olsen

29 Aug, 2019 09:51 AM

[EDIT: I've solved the issue, it was my mistake/oversight.
Turns out Appveyor was performing corretly, I just needed to take better note of the process when the PR got approved and disable "Enable deployments in Pull Requests".
It performs exactly as I want it to now, thank you (: ]

Hello!

Been experimenting and setting up Appveyor for a work project, so far so good, but I feel like I’m running around in circles around a desired setting for my project.

We’ve got our project on Github, we’ve set up branch protection, added rules regarding merging commits to master with Pull Request and we’ve added deployment on appveyor.

While the webhook between Github and Appveyor works great in regards to blocking (and warning) Merging branches that failed to build in Appveyor, I just can’t get my head around setting up appvoyer to only deploy the build if the PR gets approved.

TLDR: Is it possible to setup Appveyor to only execute deployment, if the Pull Request on Github gets approved?

  1. Christian Olsen closed this discussion on 29 Aug, 2019 12:29 PM.

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