Drools Workbench - multiple repositories

174 views Asked by At

I have multiple repositories on github cloned into my drools workbench. All of the repositories have the same structure but different content in .gdst files. When i create a new .gdst or another file in one workbench, how can i copy/push these files in other workbenches?

Thank you!

1

There are 1 answers

0
Kirill Gaevskii On

You can configure githook in Business Central (Workbench) for any repository.

  1. In folder

$ cd _EAP_HOME_/bin/.niogit/<SPACE>/<PROJECT_NAME>.git/hooks

  1. Create a post-commit file that will push your changes to the Github:

#!/bin/sh

git push origin +master

For more info you can read official documentation here.