gha: Remove push trigger

This commit is contained in:
peaceiris 2019-12-08 17:43:01 +09:00
parent 817fe3379a
commit 299744c4cc

View File

@ -1,7 +1,6 @@
name: Purge image cache
on:
push:
schedule:
- cron: '54 18 * * *'
@ -14,5 +13,8 @@ jobs:
with:
fetch-depth: 1
- 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 %
- 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 %