Fix: use printf for SSH config to avoid heredoc indentation issues

main
Sean Doran 2026-02-27 11:46:29 -05:00
parent 6de3f93653
commit 873e7fa7bb
No known key found for this signature in database
GPG Key ID: A9D7D25CD95E8579
1 changed files with 2 additions and 5 deletions

View File

@ -67,11 +67,8 @@ jobs:
echo "${{ secrets.AUR_SSH_KEY }}" > ~/.ssh/aur
chmod 600 ~/.ssh/aur
ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
cat >> ~/.ssh/config <<EOF
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
EOF
printf 'Host aur.archlinux.org\n IdentityFile ~/.ssh/aur\n User aur\n' >> ~/.ssh/config
chmod 600 ~/.ssh/config
- name: Clone AUR repo
run: git clone ssh://aur@aur.archlinux.org/${{ github.event.repository.name }}.git /tmp/aur-pkg