Fix ssh shenanigans

This commit is contained in:
Vendicated 2023-04-11 02:12:10 +02:00
parent 47f3b7fc89
commit 3a820b458f
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -30,8 +30,11 @@ jobs:
- name: Update AUR package - name: Update AUR package
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}
run: | run: |
mkdir -p -m 700 ~/.ssh
echo $SSH_KEY > ~/.ssh/aur echo $SSH_KEY > ~/.ssh/aur
echo $SSH_PUB_KEY > ~/.ssh/aur.pub echo $SSH_PUB_KEY > ~/.ssh/aur.pub
chmod 600 ~/.ssh/*
export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur" export GIT_SSH_COMMAND="ssh -i ~/.ssh/aur"
./scripts/ci/install_makepkg.sh >/dev/null 2>&1 ./scripts/ci/install_makepkg.sh >/dev/null 2>&1