ci: Invalidate JSDelivr cache when pushing to repo (#257)

This commit is contained in:
beerpsi 2024-01-15 11:37:00 +07:00 committed by GitHub
parent f3a1b3e444
commit dcc37a529f

View File

@ -9,6 +9,8 @@ if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "Update extensions repo"
git push
curl https://purge.jsdelivr.net/gh/keiyoushi/extensions@repo/index.min.json
else
echo "No changes to commit"
fi