Discourse Subscriptions Plugin

I haven’t tested this, but I’m pretty sure this will work:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - rm -rf discourse-subscriptions
          - git clone https://github.com/yourForkUser/discourse-subscriptions

Since this gets run from the plugins directory, it’ll remove the discourse-subscriptions that’s now included in core and replace it with the one that you’ve always used before. So adding just that rm -rf to your app.yml before your git clone (for this or any other plugin you want not included or to replace) should do what you want and replace the core plugin with your fork.

6 Likes