trellis_purge_wp_rocket_cache_during_deploy
trellis-purge-kiwp-rocketache-during-deploy
Purge WP Rocket cache when Trellis deploys Bedrock.
- Requirements
- Installation
- Role Variables
- Usage
- FAQs
- Testing
- Author Information
- Feedback
- Change log
- License
Requirements
Installation
Add this role to galaxy.yml
:
# galaxy.yml
- src: https://github.com/ItinerisLtd/trellis-purge-wp-rocket-cache-during-deploy
version: 0.1.1 # Check for latest version!
Run the command:
➜ ansible-galaxy install -r galaxy.yml --force
Role Variables
Add this role to the deploy_after
hook:
# group_vars/all/deploy-hooks.yml
# Learn more on https://roots.io/trellis/docs/deploys/#hooks
deploy_after:
- "{{ playbook_dir }}/vendor/roles/trellis-purge-wp-rocket-cache-during-deploy/tasks/main.yml"
Usage
Deploy as usual. No special action needed.
FAQs
Does it trigger cache preload after purge?
Yes if you enabled cache preload.
Can I use it together with trellis-purge-kinsta-cache-during-deploy
?
Yes, this role is compatible with trellis-purge-kinsta-cache-during-deploy.
It looks awesome. Where can I find some more goodies like this?
- Articles on Itineris' blog
- More projects on Itineris' GitHub profile
- Follow @itineris_ltd and @TangRufus on Twitter
- Hire Itineris to build your next awesome site
This package isn't on wp.org. Where can I give a ⭐️⭐️⭐️⭐️⭐️ review?
Thanks! Glad you like it. It's important to make my boss know somebody is using this project. Instead of giving reviews on wp.org, consider:
- tweet something good with mentioning @itineris_ltd
- star this Github repo
- watch this Github repo
- write blog posts
- submit pull requests
- hire Itineris
Testing
Syntax Check
➜ ansible-playbook -i 'localhost,' --syntax-check tests/test.yml
Author Information
trellis-purge-wp-rocket-cache-during-deploy is a Itineris Limited project created by Tang Rufus.
Special thanks to the Roots team whose Trellis make this project possible.
Full list of contributors can be found here.
Feedback
Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.
Change log
Please see CHANGELOG for more information on what has changed recently.
License
trellis-purge-wp-rocket-cache-during-deploy is released under the MIT License.
ansible-galaxy install ItinerisLtd/trellis-purge-wp-rocket-cache-during-deploy