I am currently working on a Silverstripe project in a windows environment for a client. They use their own internal auto deployment system to push changes to live sites. The issue that I am having is that after a deployment is made, I need to rebuild the database and flush the cache to ensure the site doesn't break and the updated changes show. Usually in a linux environment, I would just use sake to do this for me but this isn't available for windows. Does anything have any suggestions or ideas on a good process for deployments to a Silverstripe site hosted in a windows environment.
This is not possible due to the site being in live mode so during the deployment process when trying to rebuild the database and flushing the cache, the deployment agent is not authenticated to make the request.
sake /dev/build is just a shortcut way of doing: php framework/cli-script.php dev/build
I'm not familiar with Windows hosting, but I would think/hope that there would be a way in the deploy script to run the command php framework/cli-script.php dev/build in the root directory of the site after the deploy.