From a1683eeba92369496a95f55ec1e68fb527db3a81 Mon Sep 17 00:00:00 2001 From: Mitsuba100 Date: Tue, 14 Apr 2026 22:38:06 +0200 Subject: [PATCH] Update .github/workflows/update-repo.yml --- .github/workflows/update-repo.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index b39a46b..360c2f9 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -23,25 +23,20 @@ jobs: cd x86_64 rm -f hyprarch-repo.db* hyprarch-repo.files* *.sig - # Export public key for users gpg --export --armor 236328A7F2C2001E > pubkey.gpg - # Sign all 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 the database via Python script on the Pi python3 ~/build_db.py - # Sign the database 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 @@ -68,45 +63,28 @@ jobs:

🚀 HyprArch Custom Repository

-

Welcome to the official HyprArch repository maintained by Stuart Drew (Mitsuba100).

- +

Welcome to the official HyprArch repository maintained by Stuart Drew.

1. Add the GPG Key

-

Import and locally sign the key to trust these packages:

curl -s https://repo.stuple.net/x86_64/pubkey.gpg | sudo pacman-key -a - && sudo pacman-key --lsign-key 236328A7F2C2001E
-

2. Configure Pacman

-

Add the following to the bottom of /etc/pacman.conf:

-
[hyprarch-repo]
-SigLevel = Required DatabaseOptional
-Server = https://repo.stuple.net/$arch
- -

3. Sync & Install

-
- sudo pacman -Sy && sudo pacman -S HyprArch-waybar -
- +
[hyprarch-repo]\nSigLevel = Required DatabaseOptional\nServer = https://repo.stuple.net/$arch
EOF - # Now we safely inject the dynamic date into the static HTML file sed -i "s|Automated by GitHub Actions|& • Last updated: $(date)|" index.html - name: Deploy and Fix Permissions