fix(pingcap/monitoring): fix updating job (#2818)When failed, we should not commit and push the changes(the tool willdelete the dir firstly).Signed-off-by: wuhuizuo <wuhuizuo@126.com> (commit: b79b0c6)