For information about action hooks, consult the documentation:

http://openshift.github.io/documentation/oo_user_guide.html#action-hooks

Build hook actions were taken from:

http://log.amitshah.net/2011/12/blog-moved-to-wordpress-on-openshift/
https://www.openshift.com/forums/openshift/one-newbie-question
