Any ways to push packages to Streamlit?

I want to deploy a streamlit dashboard that is in a priavte GitHub, however, I don’t want to give Streamlit access to my private repo. The alternative I’m thinking of is pushing a pacage through an API.

How could I go about doing this?

That unfortunately is not possible. Community Cloud only supports deploying apps through GitHub repos.