WorldHealthOrganization / smart-ig-starter-kit

Other
12 stars 12 forks source link

Prevent gh-pages from accumulating history #18

Closed costateixeira closed 6 months ago

costateixeira commented 1 year ago

We've been having some issues with repo size. The GH action should not keep history on gh-pages, and the existing gh-pages should be squashed to remove commit history from that branch.

costateixeira commented 6 months ago

Apologies, forgot to close this as I wanted to give it some time and see if the issue was indeed resolved. This was done: https://github.com/WorldHealthOrganization/smart-base/blame/main/.github/workflows/ghbuild.yml#L90 https://github.com/WorldHealthOrganization/smart-base/blame/main/.github/workflows/ghbuild.yml#L100

And it seems to have resolved it - only one commit is shown: https://github.com/WorldHealthOrganization/smart-ig-starter-kit/commits/gh-pages/