Disable deploy when building pull requests

Dennis Luxen's Avatar

Dennis Luxen

16 Jun, 2014 12:21 PM

I'd like to build but not deploy build artifacts for pull request. Is it possible to check if a build is done on a branch or for a pull request?

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2014 01:50 PM

    Feodor Fitsner's Avatar

    Hi Dennis,

    But deployment is disabled on master branch by default when doing PR into it. Or this is not what you're looking for?

    - Feodor

  2. 2 Posted by Dennis Luxen on 16 Jun, 2014 03:11 PM

    Dennis Luxen's Avatar

    Thanks, managed to get this done by checking an environment variable:

    https://github.com/DennisOSRM/Project-OSRM/blob/develop/appveyor.ym...

  3. Support Staff 3 Posted by Feodor Fitsner on 16 Jun, 2014 03:28 PM

    Feodor Fitsner's Avatar

    Oh, nice solution!

    - Feodor

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:45 AM.

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

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM