Whatever we do, and even whatever our intentions and motives are, God sees and God knows.
Even if we don't want to make our action known to the public, or try to keep it secret, there one thing that we need to know.
And that is God will somehow make it known to whoever He wants to, and of course it will be for His plan and purpose.
In the 1st reading, Boaz told Ruth this: I have been told all you have done for your mother-in-law since your husband's death, and how you have left your own father and mother and the land where you were born to come to a people whom you knew nothing about before you came.
From whoever that Boaz heard this about Ruth, it can be quite certain that God was behind it and He had a plan and a purpose.
So in whatever we do, there is no need to try to attract the attention of others or to make it publice.
God sees and God knows, and if God wants others to know about it, then it is simply because God has a plan and a purpose for it.
We just have to be humble and do all things for the glory of God, whether privately or in public.