Giter Site home page Giter Site logo

kevincobain2000 / action-camo-purge Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 4 KB

Github Action to purge githubusercontent camo cache. Purge shield badges and images cache from README.md

Home Page: https://medium.com/web-developer/purge-githubusercontent-camo-cache-with-this-github-action-f1843fc0bddb

License: MIT License

badges cache camo coverage-badge markdown markdown-badges markdown-images shield shieldsio

action-camo-purge's Introduction

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

action-camo-purge's People

Contributors

kevincobain2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.