Indeed. A code repository alternative should definitely not require an equivalent to Github Pages.
To me, and devs at large (given their market share), that sounds like convenience.
Either take some responsibility and properly evaluate what that convenience means for you long term or don't complain when they leverage that vendor lock in at your disadvantage.