Deploy hook run order: - pre-pre-deploy-root - pre-pre-deploy (pre-deploy URL from sysadmin) - pre-deploy-root - pre-deploy (DEPLOY) - post-deploy-root - post-deploy (post-deploy URL from sysadmin) - post-post-deploy-root - post-post-deploy Hook structure [hooks] (default: /etc/sys-admin/hooks) +- pre-deploy.sh (global pre-deploy script) +- [client] +- post-deploy.sh (client specific post-deploy script) +- [domain] +- pre-deploy.sh (domain specific pre-deploy script) +- post-post-deploy-root.sh (domain specific post-post-deploy-root script) +- [host] +- pre-deploy.sh (vhost specific pre-deploy script) Currently supported envvars: VH_CLIENT VH_CLIENTID VH_CLIENT_PATH VH_UID VH_DOMAIN VH_DOMAIN_PATH VH_HOST VH_NAME VH_PATH VH_TOKEN VH_VHOSTID