ItinerisLtd.trellis_purge_wp_rocket_cache_during_deploy

trellis-purge-wp-rocket-cache-during-deploy

GitHub tag license

This tool clears the cache from WP Rocket when Trellis deploys Bedrock.

Requirements

Installation

To install this feature, add the following to your galaxy.yml file:

# galaxy.yml
- src: https://github.com/ItinerisLtd/trellis-purge-wp-rocket-cache-during-deploy
  version: 0.1.1 # Check for the latest version!

Then run:

➜ ansible-galaxy install -r galaxy.yml --force

Role Variables

To use this feature, add it to the deploy_after hook:

# group_vars/all/deploy-hooks.yml
# Learn more at https://roots.io/trellis/docs/deploys/#hooks
deploy_after:
  - "{{ playbook_dir }}/vendor/roles/trellis-purge-wp-rocket-cache-during-deploy/tasks/main.yml"

Usage

You can simply deploy as normal. No extra steps are needed.

FAQs

Does it trigger cache preload after purge?

Yes, it will if you have enabled cache preload.

Can I use it together with trellis-purge-kinsta-cache-during-deploy?

Yes, it works with trellis-purge-kinsta-cache-during-deploy.

It looks awesome. Where can I find more like this?

This package isn't on wp.org. Where can I give a ⭐️⭐️⭐️⭐️⭐️ review?

Thanks for your support! To help us out, consider:

Testing

Syntax Check

To run a syntax check, use:

➜ ansible-playbook -i 'localhost,' --syntax-check tests/test.yml

Author Information

This project, trellis-purge-wp-rocket-cache-during-deploy, is developed by Itineris Limited and created by Tang Rufus.

Special thanks to the Roots team for making this project possible with Trellis.

You can find the complete list of contributors here.

Feedback

We welcome your feedback! Help us improve this library for all users. Please submit an issue with your thoughts, or fork the project and suggest changes. No issue is too minor!

Change log

Refer to the CHANGELOG for updates on recent changes.

License

This project, trellis-purge-wp-rocket-cache-during-deploy, is licensed under the MIT License.

Informazioni sul progetto

Purge WP Rocket cache when Trellis deploys Bedrock

Installa
ansible-galaxy install ItinerisLtd.trellis_purge_wp_rocket_cache_during_deploy
Licenza
mit
Download
42.5k
Proprietario
We’re a full-service digital marketing agency that partners with ambitious clients to help them grow