Translation:I always do that and it has been working.
I think the problem is in the expression. "Dar certo" = to work out right". So "certo" is not working as an adverb. (Certainly = certamente - when someone is sure about that). I don't know if you got the point, but if you hear "deu certo?" it can be transated as "did it work (right)?"