From 307449b49ae467e8830dcfdfcc481efe6f5c58d5 Mon Sep 17 00:00:00 2001 From: Mitsuba100 Date: Tue, 14 Apr 2026 22:43:54 +0200 Subject: [PATCH] Update .github/workflows/update-repo.yml --- .github/workflows/update-repo.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index 360c2f9..24095b7 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -23,20 +23,25 @@ jobs: cd x86_64 rm -f hyprarch-repo.db* hyprarch-repo.files* *.sig + # Export public key gpg --export --armor 236328A7F2C2001E > pubkey.gpg + # Sign packages for pkg in *.pkg.tar.zst; do echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --pinentry-mode loopback \ --local-user 236328A7F2C2001E --passphrase-fd 0 \ --detach-sign "$pkg" done + # Build DB via Python python3 ~/build_db.py + # Sign the DB file echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --pinentry-mode loopback \ --local-user 236328A7F2C2001E --passphrase-fd 0 \ --detach-sign hyprarch-repo.db + # Mirror sig for compatibility cp hyprarch-repo.db.sig hyprarch-repo.db.tar.gz.sig - name: Generate Subfolder Index @@ -63,7 +68,9 @@ jobs: