You can use the {COMMIT_MESSAGE} deploy script variable to do some magic inside your deploy script. For example, skipping deployments can be done easily with this.
An example to skip a deployment:
if [[ {COMMIT_MESSAGE} =~ "skip-deployment" ]]; then echo "Skipping deployment upon commit message request." exit 0 fi
You can even step it up a notch, flush the FastCGI cache when you add a specific word in the commit message:
if [[ {COMMIT_MESSAGE} =~ "flush-fastcgi" ]]; then {FLUSH_FASTCGI_CACHE} fi