You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using git submodules for plugins and themes not on the wordpress.org repo is a great workflow for us and solves the issue of things not being on the .org repo quite nicely.
However there aren't any docs for this just now really, barring something in the TODO.md.
Also the deployer recipe can probably be adjusted a bit as the submodules are not in the .gitignore so are not symlinked as shared:
The text was updated successfully, but these errors were encountered:
Hmm, learned the hard way here that git submodule (and git in general) won't follow symlinks.
Came up with this in regolith-recipe.php to get the list of submodules, but after they are symlinked deployer errors out during install-dependencies.sh
Hmm, I think when I got it working on one of my sites, I just let it download a fresh copy with each deploy. That's definitely slower, but the simplicity might make it worth the tradeoff.
Using git submodules for plugins and themes not on the wordpress.org repo is a great workflow for us and solves the issue of things not being on the .org repo quite nicely.
However there aren't any docs for this just now really, barring something in the TODO.md.
Also the deployer recipe can probably be adjusted a bit as the submodules are not in the .gitignore so are not symlinked as shared:
The text was updated successfully, but these errors were encountered: