aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-18 18:51:03 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-18 18:51:03 +0200
commit438cb1d7e0f1518dd35a3a377dfd9a9fd885f80c (patch)
tree020f16bc2574880b07785ab04aa54585a8348f9f
parentedb1473f13a87ccfdfe2555ac9ab798fbc073805 (diff)
downloadvolse-hubzilla-438cb1d7e0f1518dd35a3a377dfd9a9fd885f80c.tar.gz
volse-hubzilla-438cb1d7e0f1518dd35a3a377dfd9a9fd885f80c.tar.bz2
volse-hubzilla-438cb1d7e0f1518dd35a3a377dfd9a9fd885f80c.zip
Added hot_deploy to deploy script
-rwxr-xr-x.openshift/action_hooks/deploy16
1 files changed, 16 insertions, 0 deletions
diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
index 688871d72..d6ba6940d 100755
--- a/.openshift/action_hooks/deploy
+++ b/.openshift/action_hooks/deploy
@@ -160,3 +160,19 @@ chmod -R 777 ${OPENSHIFT_REPO}.openshift/cron/minutely/poller
echo "chmod done, permissions set to 777 on poller script."
####
+
+echo "Check for the hot deploy marker at .openshift/markers/hot_deploy , if not created - create it"
+
+if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy ]; then
+
+touch ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy
+
+echo "Done creating file .openshift/cron/minutely/poller"
+
+else
+
+echo "The hot deploy marker already exists"
+
+fi
+
+####