Frojd-Bedrock icon indicating copy to clipboard operation
Frojd-Bedrock copied to clipboard

Flush nginx cache on deploy

Open martinjobb opened this issue 3 years ago • 0 comments

Had an issue where I could not see my changes after deploy. Resolved it by flushing nginx cache in wp admin. But i think it should be a part of the release flow.

Added this to after-symlink.yml in my project. Maybe it should go into the boilerplate?

- name: Purge Nginx Cache
  shell: /bin/rm -rf /var/lib/nginx/fastcgi_cache/*

martinjobb avatar May 24 '21 08:05 martinjobb