publish: Added the deployment script. Found on https://github.com/X1011/git-directory-deploy.

generated from commit 03c86630a2f86c71c6d38da2830f22eac5234e3b