Fix: decode base64-encoded AUR SSH key from secret

This commit is contained in:
Sean Doran committed 2026-02-27 11:48:36 -05:00
1 parent 2a3ca2739f
commit f4c4781966
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ jobs:
- name: Set up SSH for AUR - name: Set up SSH for AUR
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
printf '%s' "${{ secrets.AUR_SSH_KEY }}" > ~/.ssh/aur printf '%s' "${{ secrets.AUR_SSH_KEY }}" | base64 -d > ~/.ssh/aur
chmod 600 ~/.ssh/aur chmod 600 ~/.ssh/aur
ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
ssh -i ~/.ssh/aur -o StrictHostKeyChecking=no -T aur@aur.archlinux.org || true ssh -i ~/.ssh/aur -o StrictHostKeyChecking=no -T aur@aur.archlinux.org || true