aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/publish-aur.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/publish-aur.yml')
-rw-r--r--.github/workflows/publish-aur.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml
index 00395ec..ee4eec9 100644
--- a/.github/workflows/publish-aur.yml
+++ b/.github/workflows/publish-aur.yml
@@ -39,15 +39,12 @@ jobs:
- name: Add AUR host to known_hosts
run: ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts
- - name: Debug SSH setup
- run: |
- ls -l ~/.ssh
- cat ~/.ssh/id_ed25519
- cat ~/.ssh/known_hosts
+ - name: Set SSH permissions for current user
+ run: chown $(id -u):$(id -g) ~/.ssh/id_ed25519 ~/.ssh/known_hosts
- - name: Clone AUR repository and update PKGBUILD
+ - name: Clone AUR repository
run: |
- git clone ssh://aur@aur.archlinux.org/soon.git aur-repo
+ GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts" git clone ssh://aur@aur.archlinux.org/soon.git aur-repo
cd aur-repo
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ "${{ github.event.inputs.tag }}" != "" ];
then