Custom plugin as subtree doesn't deploy

My site is Trellis/Bedrock/Sage, and also uses a custom plugin. I pulled in the plugin as a subtree and added !/web/app/plugins/my-plugin/ to .gitignore. I used to use composer to install it, but it was a pain to work on both at the same time.

The plugin files are on my laptop, work fine in Vagrant, and show up in the Github repo for the site. However when I deploy with Trellis they don’t get installed on the server.

Should this be possible, and if so how do I start to troubleshoot this?

Very strange. I deployed again and now it’s there.

What did you mean by “subtree”? A Git submodule?

Because Trellis doesn’t support them so it would cause issues.

This topic was automatically closed after 42 days. New replies are no longer allowed.