Does SS 2.4 or 3 have the ability to move the assets path outside the root? Microsoft deployment using Web Deploy/WebMatrix always shows site differences due to assets and this results in:
- having to manually uncheck all assets/ files and folders every time I do a deploy
- the risk of updating production assets by mistake
- the inability to use the "delete remote files" option to clean deleted code because it will also remove assets
Thanks Will. This is on Windows using Web Deploy. I managed to get the folder outside of root using "mklink /D" command. As far as Web Deploy is concerned though it's still a folder and will delete it but I've managed to get around that by using -skip option with msdeploy.exe.
I've now got TeamCity doing automated checkouts and deploy of my SilverStripe app to remote IIS server using MSBuild and Web Deploy. Could be handy information for anyone looking to automate Windows deploys. Any suggestions on where to briefly document that? I'll be extending it shortly to handle other pieces like backups, rollbacks and calling dev/build/flush.
Could be a very handy document. My suggestion would be to write it up on doc.silverstripe.org (already docs for WebPlatform so perhaps we have a Web Deploy page). Makes sense to do it on doc.ss rather than a site like ssbits.com as it would be a popular choice for windows developers.