jakubgarfield / Bonobo-Git-Server

Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
http://bonobogitserver.com
MIT License
1.81k stars 603 forks source link

Use SFTP on push to master #849

Open alexisphilip opened 5 years ago

alexisphilip commented 5 years ago

Every push to master branch on the Bonobo server, we would like to upload the updated files through SFTP on the DEV server.

How can I setup (and where) an SFTP to upload to the DEV server 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.

Thank you.