do not create subshell when deploy fails, so it will actually cause the build to fail