Skip to content

Instantly share code, notes, and snippets.

@alexknowshtml
Created July 2, 2011 18:19
Show Gist options
  • Save alexknowshtml/1061494 to your computer and use it in GitHub Desktop.
Save alexknowshtml/1061494 to your computer and use it in GitHub Desktop.
Pre-deploy hook
<?php
/**
* Hook called prior to deployment.
*
* @param String
*/
public function pre_deploy_hook($key = '')
{
log_message('debug', 'Pre-deploy hook called');
$this->go_maintenance($key);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment