Running deploy_script on master only
Is there a way of running deploy_script: on master only? I don't want to duplicate the build sections twice, I need a single deploy section (when pull requests go through).
Thanks
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
1 Posted by Ilya Finkelshte... on Mar 17, 2017 @ 03:57 PM
You can wrap your script code with
IF ($env:APPVEYOR_REPO_BRANCH -eq "master") {<your_other_script_code>}
, or do the similar in cmd.<your_other_script_code>
can be actual script code or.ps1
/.bat
/.cmd
file.Thanks!
Ilya.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:15 AM.