follow redirects in deployment callback

curl -L follows redirects instead of just printing out the redirect as a response