Some organizations give away their content,
hoping it will get you to join their community.
Some organizations give access to their community,
hoping you will then purchase their content.
Either could work, but doing both at the same time rarely will.
And it may very well be that neither your content nor your community as separate items is where your real value can be found.
Rather it may be in the conversation your community has about your content and the new content that is created as a result. I wouldn't advise giving that away.
What do you think is most valuable and why?