File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 workflow_dispatch :
77
8-
98jobs :
109 aur-push :
1110 runs-on : ubuntu-latest
@@ -14,14 +13,17 @@ jobs:
1413 - name : Checkout repository
1514 uses : actions/checkout@v4
1615
17- -
uses :
webfactory/[email protected] 18- with :
19- ssh-private-key : ${{ secrets.AUR_SSH_PRIVATE_KEY }}
16+ - name : Setup SSH
17+ run : |
18+ mkdir -p ~/.ssh
19+ echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/id_aur
20+ chmod 600 ~/.ssh/id_aur
21+ ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
22+ chmod 644 ~/.ssh/known_hosts
23+ export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_aur"
2024
2125 - name : Clone AUR repository
2226 run : |
23- echo -e "\nHost aur.archlinux.org\n IdentityFile ~/.ssh/id_ed25519\n User aur" >> ~/.ssh/config
24-
2527 git clone ssh://[email protected] /python-i686-bin.git aur-repo 2628 cd aur-repo
2729
You can’t perform that action at this time.
0 commit comments