From f3da1d523bf7eb42dd09c9a87379558123f285fb Mon Sep 17 00:00:00 2001 From: Haksung Jang Date: Sat, 29 Aug 2026 15:24:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20gh-pages=20=EB=B0=B0=ED=8F=AC=EC=97=90?= =?UTF-8?q?=20force=5Forphan=20=EC=98=B5=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 배포마다 커밋을 계속 쌓아 gh-pages 브랜치에 이력 913개(빌드 산출물 전체가 매번 중복)가 쌓였다. gh-pages는 순수 빌드 산출물이라 이력을 남길 이유가 없으므로, 매번 커밋 1개로 새로 만들도록 바꿨다. --- .github/workflows/deploy-github-pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 47087fca3a..5cd9159a76 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -64,3 +64,8 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} + # force_orphan: 배포마다 새 커밋을 쌓지 않고 매번 커밋 1개로 새로 만든다. + # 원래 옵션이 없어 gh-pages에 배포 이력 913개(빌드 산출물 전체 중복)가 쌓여 + # 저장소 용량의 큰 부분을 차지했다. gh-pages는 순수 빌드 산출물이라 이력을 + # 보존할 이유가 없다. + force_orphan: true