开发者

SVN FTP Upload with multiple FTP accounts

开发者 https://www.devze.com 2022-12-13 23:48 出处:网络
We have multiple ftp accounts for each website and recently have set up the folder with all the websites inside of a SVN Repository. What would be the best approach to set it up so it would upload on

We have multiple ftp accounts for each website and recently have set up the folder with all the websites inside of a SVN Repository. What would be the best approach to set it up so it would upload on commit to the respective ftp account based o开发者_C百科n it's folder?


You may be able to write a script (shell, perl, or whatever) that ftp's files and/or directories from the svn repository to one or more ftp sites. This script could then be run from a svn hook

I believe there is a "post-commit" hook which you might be able to take advantage of.

0

精彩评论

暂无评论...
验证码 换一张
取 消