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 9b3ce61 commit 3d30b11
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 @@ -29,4 +29,5 @@ jobs:
personal_token: ${{ secrets.RELEASE_TOKEN }}
publish_branch: gh-pages
publish_dir: ./book
force_orphan: true
cname: 'tech-docs.system76.com'

0 comments on commit 3d30b11

Please sign in to comment.