From 11b52f03a357366f2403bc1e06d96c6180cd9b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Weirs=C3=B8e?= Date: Wed, 30 Sep 2026 17:10:01 +0200 Subject: [PATCH] Mirror the released PKGBUILD to the tarballz index Claude-Session: https://claude.ai/code/session_012LCTmU2ewo8tnM1dByYAoG --- .gitea/workflows/aur-publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/aur-publish.yml b/.gitea/workflows/aur-publish.yml index 4d598f8..b0f5f3b 100644 --- a/.gitea/workflows/aur-publish.yml +++ b/.gitea/workflows/aur-publish.yml @@ -80,3 +80,17 @@ jobs: fi git commit -m "Update to ${{ steps.version.outputs.version }}" git push -u origin master + + # Mirror the same PKGBUILD to https://asger.weirsøe.dk/tarballz/, the + # human-readable package index. The key is pinned on the web host to a + # forced command that can only write this one file, and a failure there + # must never turn an otherwise good AUR release red. + - name: Publish PKGBUILD to the tarballz index + continue-on-error: true + env: + TARBALLZ_SSH_KEY: ${{ secrets.TARBALLZ_SSH_KEY }} + run: | + printf '%s\n' "$TARBALLZ_SSH_KEY" > ~/.ssh/tarballz + chmod 600 ~/.ssh/tarballz + ssh -i ~/.ssh/tarballz -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new \ + root@192.168.10.148 < aur-pkg/PKGBUILD