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