change it so that production wont push if master failed to

prevents cases where master cant but production pushes, causing a commit duplication