allow deploy only after success