We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dcb2b commit dbf584bCopy full SHA for dbf584b
1 file changed
.github/workflows/aur-publish.yml
@@ -42,17 +42,19 @@ jobs:
42
43
- name: Setup SSH for AUR
44
run: |
45
- mkdir -p ~/.ssh
+ pacman -S --noconfirm openssh
46
47
+ mkdir -p ~/.ssh
48
echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
49
chmod 600 ~/.ssh/id_ed25519
50
51
printf "Host aur.archlinux.org\nHostName aur.archlinux.org\nUser aur\nIdentityFile ~/.ssh/id_ed25519\nStrictHostKeyChecking no\n" > ~/.ssh/config
-
52
chmod 600 ~/.ssh/config
53
54
- - name: Add AUR host key
55
- run: ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
+ ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
+ chmod 644 ~/.ssh/known_hosts
56
+
57
+ /usr/bin/ssh -T aur@aur.archlinux.org || true
58
59
- name: Clone AUR repository
60
0 commit comments