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
367de578
Unverified
Commit
367de578
authored
Jan 02, 2018
by
Dave Machado
Browse files
Remove branch logic from deploy script
the branch logic lives in main.sh, so no need to check again
parent
9f53d094
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/deploy.sh
View file @
367de578
...
@@ -2,12 +2,6 @@
...
@@ -2,12 +2,6 @@
set
-o
errexit
-o
nounset
set
-o
errexit
-o
nounset
if
[
"
$TRAVIS_BRANCH
"
!=
"master"
]
then
echo
"This commit was made against
$TRAVIS_BRANCH
and not master! No deploy!"
exit
0
fi
rev
=
$(
git rev-parse
--short
HEAD
)
rev
=
$(
git rev-parse
--short
HEAD
)
mkdir
deploy
mkdir
deploy
...
...
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