Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gha: Fix one liner
  • Loading branch information
peaceiris committed Dec 8, 2019
1 parent dbec910 commit 817fe33
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/purge-readme-image-cache.yml
Expand Up @@ -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 %

0 comments on commit 817fe33

Please sign in to comment.