diff --git a/.github/workflows/purge-readme-image-cache.yml b/.github/workflows/purge-readme-image-cache.yml new file mode 100644 index 0000000..11aa7f4 --- /dev/null +++ b/.github/workflows/purge-readme-image-cache.yml @@ -0,0 +1,19 @@ +name: Purge image cache + +on: + push: + branches: + - master + schedule: + - cron: '4 18 * * *' + +jobs: + purge: + runs-on: ubuntu-18.04 + steps: + + - run: | + IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \ + grep -oE '