diff options
Diffstat (limited to '.openshift/action_hooks/deploy')
-rwxr-xr-x | .openshift/action_hooks/deploy | 16 |
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 + +#### |