fixed typo
This commit is contained in:
parent
4e7dac50c1
commit
56db90ff28
4
run.sh
4
run.sh
@ -15,15 +15,17 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for f in "${URLs}"; do
|
||||
for f in ${URLs}; do
|
||||
curl -s -X POST \
|
||||
-H 'AccessKey: '"${BUNNYCDN_API}"'' \
|
||||
-H 'Content-Length: 0' \
|
||||
'https://api.bunny.net/purge?url='"${f}"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Cleared cache for ${f}"
|
||||
else
|
||||
echo "Cleared not completed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user