Silverstripe Version: 3.6.1
Question: I have a Silverstripe 3.6.1 site that I am deploying via GitHub actions - and one of the last steps in the workflow is to rebuild the DB and flush the cache done like so:
$ sake dev/build "flush=1"
The rebuild works as expected, however the cache does not seem to flush properly - for example, a deploy last night resulted in a white screen on the homepage. It wasn’t until I managed to log in a flush via the URL that it worked as expected.
Am I using sake incorrectly?
Is what I’m trying to do not the intended behaviour?
Is a better way to flush the cache during deploy to empty the