Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
6747d5b2
Commit
6747d5b2
authored
May 25, 2017
by
Dave Machado
Browse files
Set conditional deployment branch to master
parent
d5505b5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/deploy.sh
View file @
6747d5b2
...
...
@@ -2,7 +2,7 @@
set
-o
errexit
-o
nounset
if
[
"
$TRAVIS_BRANCH
"
!=
"
feature/markdown-tables-to-json
"
]
if
[
"
$TRAVIS_BRANCH
"
!=
"
master
"
]
then
echo
"This commit was made against
$TRAVIS_BRANCH
and not master! No deploy!"
exit
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment