Many journals allow you to share a pre-publication version of your paper, but not the journal's final printed version. Pre-publication means YOUR final submitted version.
You need to go to the journal's guidelines for authors and see what their rules say about sharing the paper.