How can I use private git submodules in my app?

I want to build an app from a Github repo that references private git submodules but it doesn’t seem to work.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi everyone,

I finally made this work by simply creating a github personal access token for heroku and adding the ENV variable GO_GIT_CRED__HTTPS__GITHUB__COM

as described here:

Hope this helps, Fabio

UPDATE: THIS STOPPED WORKING, seems like there is a bug on Digital Ocean side

I had the same issue, my package.json was:

    "feathers-mongodb": "",

You need to change it to

    "feathers-mongodb": "github:mategvo/feathers-mongodb",

If you attempt to reference private git submodules that are not accessible via the authenticated Github account you have connected, builds will fail. You must have your private git submodules stored in the Github account you have authorized App Platform to use.