Mirror the released PKGBUILD to the tarballz index
Claude-Session: https://claude.ai/code/session_012LCTmU2ewo8tnM1dByYAoG
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user