1
0
Fork 0
forked from blue/mlc

CI, try 8

This commit is contained in:
Blue 2023-10-11 16:57:54 -03:00
parent 9b726e37fc
commit 45f3e1d6dd
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
3 changed files with 7 additions and 4 deletions

View file

@ -4,6 +4,9 @@ on:
release:
types: [published]
env:
git: GIT_SSH_COMMAND="ssh -i key -o 'IdentitiesOnly yes' -o 'StrictHostKeyChecking no'" git
jobs:
Archlinux:
runs-on: archlinux
@ -20,7 +23,7 @@ jobs:
- name: Clone the AUR repository
run: |
echo "${{ secrets.DEPLOY_TO_AUR_PRIVATE_KEY }}" > key
GIT_SSH_COMMAND="ssh -i key -o 'IdentitiesOnly yes'" git clone ssh://aur@aur.archlinux.org/mlc.git aur
$git clone ssh://aur@aur.archlinux.org/mlc.git aur
chmod 777 -R aur/.SRCINFO
cd aur
git config user.name ${{ secrets.DEPLOY_TO_AUR_USER_NAME }}
@ -41,4 +44,4 @@ jobs:
run: |
git add PKGBUILD .SRCINFO
git commit -m "${{ gitea.event.release.body }}"
GIT_SSH_COMMAND="ssh -i ../key -o 'IdentitiesOnly yes'" git push
$git push