No. He just figured it out now when he remembered that shigaraki mentioned OfA while fighting them, deku heard what was happening and suddenly turned the comms on, said that shigaraki is after him and volunteered to lure shigaraki away from the place where there people.
I thought nobody knew except a couple ppl about deku getting all for one but endeavour knows too?