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.
精彩评论