tag:help.appveyor.com,2012-11-13:/discussions/questions/3490-running-deploy_script-on-master-onlyAppVeyor: Discussion 2018-08-25T02:15:48Ztag:help.appveyor.com,2012-11-13:Comment/421774762017-03-17T15:57:59Z2017-03-17T15:57:59ZRunning deploy_script on master only<div><p>You can wrap your script code with <code>IF ($env:APPVEYOR_REPO_BRANCH -eq "master") {<your_other_script_code>}</code>, or do the similar in cmd. <code><your_other_script_code></code> can be actual script code or <code>.ps1</code>/<code>.bat</code>/<code>.cmd</code> file.</p>
<p>Thanks!<br>
Ilya.</p></div>Ilya Finkelshteyn