I have setup my plesk website to automatically pull changes from a remote repository to a certain path of the webserver via post-hooks as described here.
However my repository contains a git submodule and I need to run the custom command git submodule update --remote as well. How can I tell plesk to do that. The commands I can enter in the
Enable Additional Deployment Actions
Setting seem not to be executed in the correct path. Also when I go to the path the repository syncs to on my server i get:
fatal: Not a git repository (or any of the parent directories): .git
How can I achive to tell plesk to update submodules too with the git plugin?