Files
actions-gh-pages/.github/workflows/purge-readme-image-cache.yml
T
renovate[bot] a5e49793f6 chore(deps): update dependency ubuntu to v24 (#1159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-12 22:21:55 +09:00

18 lines
359 B
YAML

name: Purge image cache
on:
schedule:
- cron: '54 18 * * */7'
workflow_dispatch:
jobs:
purge:
runs-on: ubuntu-24.04
steps:
- run: >
curl -sL https://github.com/${GITHUB_REPOSITORY} |
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' |
sed -e 's/<img src="//' |
xargs -I % curl -sX PURGE %