fixed branch checkout in deploy-custom.sh