Does anyone use SVN to deploy their websites? If you do, could you explain your setup process and workflow or provide a link to more information? Ideally, I'd like to be able to commit to SVN and then have it also update my website. I'm currently using Assembla as a hosted SVN repository, so any answers that take that into account would be doubly appreciated.
I used SVN in the past, then I switched to Git.
I strongly encourage you to read the SVN book. It contains lot of useful information and suggestions to use SVN in the right way.
You can start by using the
trunk tree to store your main project development line. Each developer will work on its working copy, and execute one commit for every completed feature, fixed bug or change.
The configuration on your production server depends on the complexity of the project. If the project is simple, you can checkout a working copy and point the server to the working copy. Make sure to block the access to the
An other alternative, is to execute an export, instead of a checkout.
Some providers offer the option to automatically push live the latest commits. I know Beanstalk offers this, have been meaning to try it. It seems that Assembla offers it as well, though it's on a paid plan.