- I am using Eclispe IDE ;
- We are using Git (Bonobo Git) on Windows server ;
- The global render of our project is on a distant DEV server.
Every push to master branch on the git server, we would like to upload the updated files through SFTP
on the DEV server.
How can I setup an SFTP on local and upload only when I push to the master branch?
Should we do it this way:
Local → [COMMIT & PUSH] → GIT server → [SFTP] → DEV server.
Or this way:
Local → [COMMIT & PUSH] → GIT server.
If push:
Local → [SFTP] → DEV server.