davidalger / capistrano-magento2

Magento 2 specific tasks for Capistrano 3
https://rubygems.org/gems/capistrano-magento2
Open Software License 3.0
228 stars 75 forks source link

How can I flush cache file on multi server #161

Open kalumbum opened 2 years ago

kalumbum commented 2 years ago

Hi, My website on multi server have using cache file on server, after deploy we just clear cache on opcache. We need to edit task clear cache "invoke 'magento:cache:flush'". But it's doesnt support us to add flush cache again. How can I add task with execute command linux or How can I flush cache file on multi server.

PascalBrouwers commented 2 years ago

You need to lookup how to add tasks in Capistrano. This repo is just another add-on, not the main program. I suggest you google/research it.