Skip to content

kevincobain2000/action-camo-purge

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

camo purge logo

Github Action to purge githubusercontent camo cache.

Purge shield badges cache from README.md for githubusercontent camo.

Quick Setup: Simply add a GitHub Action to your workflow.

Easy: No arguments required.

Auto Detect Just add the action and it will automatically detect the branch and org names.

Using Action

- uses: kevincobain2000/action-camo-purge@v1

About

Github shields.io badges are cached by camo. This action purges the cache for the badges or any other images in README.md.

Badges from codecov, coveritup.app, or any other external images in README.md are cached by Github using camo. This means, that the images are not loaded from the original source, but from a proxy server.

Purging camo cache is necessary on regular basis, in order to show the latest values on the shield badges.

This action purges the camo cache for the images in README.md, whenever there is a change in the repository on push or pull_request events, for a branch. It can also be used on a cron.

The action picks up the branch names and org names automatically, so no need to pass any arguments.

Read more about camo

CHANGE LOG

v1.0.0 - Initial release