commit bf38d0cf3d198d7d6768b5ce53563d12d356b700 parent df75e198b972d010a986deabe6bef43c1da6e8b9 Author: Amit Dutta <mail@amit.is-a.dev> Date: Tue, 18 Aug 2026 19:20:10 +0530 Change backup method to Git bundle and update release Diffstat:
| M | .github/workflows/main.yml | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -152,8 +152,8 @@ jobs: echo "TIMESTAMP=$(TZ='Asia/Kolkata' date +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_ENV echo "PRETTY_DATE=$(TZ='Asia/Kolkata' date +'%d %B %Y, %I:%M %p IST')" >> $GITHUB_ENV - - name: Create ZIP Backup - run: zip -r "full-repo-backup-${{ env.TIMESTAMP }}.zip" . -x "*.git*" + - name: Create Git Bundle Backup + run: git bundle create "full-repo-backup-${{ env.TIMESTAMP }}.bundle" --all - name: Update Rolling Release env: @@ -161,9 +161,9 @@ jobs: run: | gh release delete latest-backup -y --cleanup-tag || true - gh release create "latest-backup" "full-repo-backup-${{ env.TIMESTAMP }}.zip" \ - --title "Latest Backup - ${{ env.PRETTY_DATE }}" \ - --notes "Automated repository backup generated on ${{ env.PRETTY_DATE }}." + gh release create "latest-backup" "full-repo-backup-${{ env.TIMESTAMP }}.bundle" \ + --title "Latest Bundle Backup - ${{ env.PRETTY_DATE }}" \ + --notes "Automated full repository bundle generated on ${{ env.PRETTY_DATE }}. Restore offline using \`git clone full-repo-backup-${{ env.TIMESTAMP }}.bundle\`." deploy: environment: