Skip to content

Commit 5c10943

Browse files
committed
Do not keep gh-pages 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.
1 parent 2f695d9 commit 5c10943

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ jobs:
4545
cname: support.system76.com
4646
github_token: ${{ secrets.RELEASE_TOKEN }}
4747
publish_dir: ./dist
48+
force_orphan: true

0 commit comments

Comments
 (0)