Set branch variable on deploy.