publish: adding deploy script

generated from commit be6b9bb500ee8b3761fafb42c33cbd4cf658c3c0