Question: What is everyone doing to deploy (capistrano) and the redeploy after the client has changed files on production?
Background: I have a site in production now. I have deploying down pat with a custom Capistrano script. Life is (was) great...until the client started editing templates directly on the server (as they should since they won't be doing deploys like me).
My NEW deploy steps now look like this:
- Grab a DB dump of the Production database
- Import this DB dump into my local database
- Delete all local templates from my dev folder and ensure the template group folders have write privileges
- Synchronize the templates locally to recreate the files (locally in the EE admin)
Problem is Git sees these files as changed and it just doesn't seem right.
There must be a better way! One thought is to sftp all templates from Production to local, which would grab the newly edited templates files, but even that seems a bit crazy.