aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/deploy.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 22:48:47 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-12 22:48:47 +0100
commite854c2f17284e7b30c6aa1b6e132b527a171ada9 (patch)
tree5bf12f16677fe5976927469abb6699b569da0753 /.travis/deploy.sh
parenteae207e1ad1ecfb1b57acdcaba59be218aea8db9 (diff)
downloadblogc-e854c2f17284e7b30c6aa1b6e132b527a171ada9.tar.gz
blogc-e854c2f17284e7b30c6aa1b6e132b527a171ada9.tar.bz2
blogc-e854c2f17284e7b30c6aa1b6e132b527a171ada9.zip
travis: when skipping deploy, return 0
Diffstat (limited to '.travis/deploy.sh')
-rwxr-xr-x.travis/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/deploy.sh b/.travis/deploy.sh
index 2b6c832..f04468c 100755
--- a/.travis/deploy.sh
+++ b/.travis/deploy.sh
@@ -27,12 +27,12 @@ fi
if [[ "x$(type -t deploy)" != "xfunction" ]] || [[ "x$(type -t deploy_cond)" != "xfunction" ]]; then
echo "Nothing to deploy. skipping ..."
- exit 1
+ exit 0
fi
if ! deploy_cond; then
echo "Deploy disabled. skipping ..."
- exit 1
+ exit 0
fi
deploy