My colleague told me sometimes some images do not get updated.
To fix this they delete the deploy cache before starting a deploy.
We have now allowed some editors to do a deploy (we made them administrators).
I think that they might forget to click the ‘Delete deploy cache’ button so I would like to automate it.
Can I use the
statichtmloutput_post_deploy_triggeraction to do it.
Could I wrote a function like:
$controller = StaticHTMLOutput\Controller::getInstance();