Roots Discourse

Custom plugin as subtree doesn't deploy

#1

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?

0 Likes

#2

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

0 Likes

#3

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

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

0 Likes

closed #4

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

0 Likes