Skip to content
refresh-cw

GitHub Action

action-camo-purge

v1 Latest version

action-camo-purge

refresh-cw

action-camo-purge

Purge all the camo images for the repo for a given branch from camo.githubusercontent

Installation

Copy and paste the following snippet into your .yml file.

              

- name: action-camo-purge

uses: kevincobain2000/action-camo-purge@v1

Learn more about this action in kevincobain2000/action-camo-purge

Choose a version

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