Automatically deploy latest revision to website from SVN server

65 Views Asked by At

I'm new with SVN and version controlling.

I have a www folder where I have to put my .html and .php files. I made a svn/repository folder keeping my versions of what I would like inside the www folder. (For instance, from remote computer, I can "pull" the content of the last version.)

What I would like is to know how I can keep the last version in the www folder.

I read about making a local repository, but if I do so, shouldn't I have to update it manually every time I commit changes ?

Thanks for the answers !

1

There are 1 best solutions below

0
On

I think what you want can be done with svn post-update hook

http://svnbook.red-bean.com/en/1.7/svn.ref.reposhooks.post-commit.html

hope this helps