https://www.softwareheritage.org/ will index it anyway.
Also, if you publish your code in your own server, it will be DDoSed to death by the many robots that will try to scrape it simultaneously.