Do you need a calorie surplus to grow muscles?

If I eat a lot of calories but have a slight deficit due to some cardio that day, but if I still work my muscles will they grow anyways despite that deficit?
3 answers 3