mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-12-06 15:05:59 +01:00
ci: delete .github/workflows/purge-readme-image-cache.yml
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
name: Purge image cache
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '4 18 * * */7'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
purge:
|
|
||||||
runs-on: ubuntu-slim
|
|
||||||
timeout-minutes: 5
|
|
||||||
permissions: {}
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
curl -sL "https://github.com/${GITHUB_REPOSITORY}" |
|
|
||||||
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' |
|
|
||||||
sed -e 's/<img src="//' |
|
|
||||||
xargs -r -I % curl -sX PURGE %
|
|
||||||
Reference in New Issue
Block a user