Skip to content

Commit

Permalink
Do not keep gh-pages history
Browse files Browse the repository at this point in the history
Keeping the history of gh-pages adds a lot of bloat when trying to clone the repository. The force_orphan option added pushes just one commit with no prior history to the gh-pages branch on every change, which should significantly reduce the size of the repository.
  • Loading branch information
jackpot51 committed Sep 5, 2024
1 parent 2f695d9 commit 5c10943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ jobs:
cname: support.system76.com
github_token: ${{ secrets.RELEASE_TOKEN }}
publish_dir: ./dist
force_orphan: true

0 comments on commit 5c10943

Please sign in to comment.