Fix deploy and build error handling, adding to all blocks notification of success