Deploying with capistrano

Mike Peven's Avatar

Mike Peven

13 Jul, 2015 08:51 PM

My repo already has deployment set up with capistrano.
When I add in:
> deploy_script:
> - cap production deploy
Is there a way to make sure that it only deploys the 'master' branch?

  1. Support Staff 1 Posted by Feodor Fitsner on 13 Jul, 2015 09:13 PM

    Feodor Fitsner's Avatar

    Could be like:

     - IF %APPVEYOR_REPO_BRANCH% == "master" cap production deploy
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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