By Jake Levirne
I want to build an app from a Github repo that references private git submodules but it doesn’t seem to work.
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!
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: https://github.com/heroku/heroku-buildpack-go#private-git-repos
Hope this helps, Fabio
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.
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": "https://github.com/mategvo/feathers-mongodb.git",
You need to change it to
"feathers-mongodb": "github:mategvo/feathers-mongodb",
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.