Only push if the commit succeeded