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
|
echo "${{ secrets.AUR_SSH_KEY }}" > ~/.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
|
||||||
cat >> ~/.ssh/config <<EOF
|
printf 'Host aur.archlinux.org\n IdentityFile ~/.ssh/aur\n User aur\n' >> ~/.ssh/config
|
||||||
Host aur.archlinux.org
|
chmod 600 ~/.ssh/config
|
||||||
IdentityFile ~/.ssh/aur
|
|
||||||
User aur
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Clone AUR repo
|
- name: Clone AUR repo
|
||||||
run: git clone ssh://aur@aur.archlinux.org/${{ github.event.repository.name }}.git /tmp/aur-pkg
|
run: git clone ssh://aur@aur.archlinux.org/${{ github.event.repository.name }}.git /tmp/aur-pkg
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue