doc: Instructions for submodules in private repositories #22

Open
opened 2026-09-26 05:00:16 +00:00 by amras · 0 comments
Owner

We have a repository which includes a git submodule. And for it to work, you need to also add the deploy key of the main repo to the submodules repo.

Originally posted by @stevensting in #14 (comment)

I think this fix should be documented. Probably in the recipe's README, under "use a private repository"?

Hugo sites often have submodules of theme repositories. So I imagine more people will run into this problem, and the fix should be easy to find. (NB: hugo now recommends using hugo mod to load themes without submodules, but instructions in theme readmes are inconsistent.)

> We have a repository which includes a git submodule. And for it to work, you need to also add the deploy key of the main repo to the submodules repo. _Originally posted by @stevensting in https://git.coopcloud.tech/coop-cloud/parasol-static-site/issues/14#issuecomment-41000_ I think this fix should be documented. Probably in the recipe's README, under "use a private repository"? Hugo sites often have submodules of theme repositories. So I imagine more people will run into this problem, and the fix should be easy to find. (NB: hugo now recommends using `hugo mod` to load themes without submodules, but instructions in theme readmes are inconsistent.)
amras changed title from Instructions for submodules in private repositories to doc: Instructions for submodules in private repositories 2026-09-26 05:00:52 +00:00
Sign in to join this conversation.