mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-03 10:01:37 +00:00
gha: Fix one liner
This commit is contained in:
1 parent
dbec91074d
commit
817fe3379a
1 file changed
+1
-4
@@ -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 %
|
|
||||||
Reference in new issue
Block a user