Communities to share $900K grant for housing