Sayyed Mohammad Al-Musawi, Sayyed Mohammad al-Musawi is originally from Iraq and heads up the World Ahlul Bayt Islamic League in London. Other than being involved in various humanitarian projects, he frequently responds to... Answered 3 years ago

It depends on the real intention in the heart and mind which is known by Allah (SWT). 

Good deeds are usually encouraged to be done secretly with out publicity, to keep it away from Satanic whispering of showing off which not only spoils the deeds but also turns it into bad. If the intention is really to encourage others to do good deeds, then it is good to do it publicly. After all, Allah (SWT) knows the intentions.