Fix: use printf for SSH config to avoid heredoc indentation issues
parent
6de3f93653
commit
873e7fa7bb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue