gha: Fix one liner
This commit is contained in:
parent
dbec91074d
commit
817fe3379a
|
@ -15,7 +15,4 @@ jobs:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \
|
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 %
|
||||||
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' | \
|
|
||||||
sed -e 's/<img src="//')
|
|
||||||
echo ${IMAGE_LIST} | xargs -I % curl -sX PURGE %
|
|
||||||
|
|
Loading…
Reference in New Issue