publish: configuring deploy script

generated from commit e9882402d0d690f3707022dad5c1f8bcb1b1688f