It would have been nice if we could still verify the credentials before building. There doesn't seem to be a target for that in the plugin though. Maybe pushing a small dummy file?

(Now in the right place in the script)