fail early when deployment action fails.

Change-Id: I44d6f1bc7e9d9c00f48f3c0d1daf5b482a720d1f