gha: Fix one liner

This commit is contained in:
peaceiris 2019-12-08 17:38:48 +09:00
parent dbec91074d
commit 817fe3379a
1 changed files with 1 additions and 4 deletions

View File

@ -15,7 +15,4 @@ jobs:
fetch-depth: 1
- run: |
IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' | \
sed -e 's/<img src="//')
echo ${IMAGE_LIST} | xargs -I % curl -sX PURGE %
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 %