I'm working with SVN but I would like to move on to Git, and more specifically to Gitlab.
I have the following structure:
MyStructure/
customer/
client1/
delivery.sh
MyFiletoSend.sh
client2/
delivery.sh
MyFiletoSend2.sh
Currently, the "delivery.sh" will send the modifications (rsync) of the file "MyFiletoSend.sh" to the server "client1".
Can I run the "delivery.sh" via Gitlab automatically after/before the git push only on the files modified in this push?
Example:
- I have a modification to make to the file "MyFiletoSend.sh" from client1/
- I make my change
- commit and push
- Gitlab is running "delivery.sh" on my "client1/" file.
- The file "MyFiletoSend.sh" is sent to the server of "client1" without touching "client2".