0

I have CI/CD pipeline in my parent git repository. But whenever I commit new changes in submodule, I have to update the parent repository again. This is quite painful now. Is there any way to automatically update the submodule. I am using Bitbucket.

I found this but solution seems vague to me.

Unknown
  • 427
  • 5
  • 9
  • 1
    Create a job on the parent repo to update the submodule, add a ci action to call this job on your submodule cicd – Ôrel Nov 13 '22 at 10:22
  • [`post-commit` hook](https://stackoverflow.com/a/54901456/7976758). It runs locally, after a commit in the submodule. – phd Nov 13 '22 at 11:59

0 Answers0