fix: Clean the badges branch in the workflow by adding git rm -rf ..

This commit is contained in:
AEmotionStudio
2026-01-01 23:35:57 -08:00
parent 14a61ce4a9
commit 38e58cca2f
+3
View File
@@ -73,6 +73,9 @@ jobs:
git fetch origin badges:badges || true
git checkout badges || git checkout --orphan badges
# Clean the branch to ensure it only has the JSON
git rm -rf .
# Restore the files
mv /tmp/traffic_stats.json traffic_stats.json
mv /tmp/git_clones.json git_clones.json