Skip to content

Commit

Permalink
CLDR-17749 git gc after deploy (#4308)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Jan 28, 2025
1 parent c743a7b commit ad05549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/scripts/ansible/templates/deploy-sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ dogit() {
git checkout -f ${GITHUB_SHA}
echo "HEAD is now at" $(git rev-parse --short HEAD) "!"
fi
echo "Git GC, this might take a sec"
git gc --auto --prune
}

# Check git first, before undeploying. Want to exit early
Expand Down

0 comments on commit ad05549

Please sign in to comment.