File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,16 +120,13 @@ jobs:
120120
121121 - name : Set up SSH
122122 run : |
123- mkdir -p ~/.ssh
124- chmod 700 ~/.ssh
123+ mkdir -p ~/.ssh && chmod 700 ~/.ssh
125124 echo "${{ secrets.AUR_SSH_KEY }}" > ~/.ssh/id_rsa
126125 chmod 600 ~/.ssh/id_rsa
127- ssh-keyscan -H aur.archlinux.org > ~/.ssh/known_hosts
128- chmod 644 ~/.ssh/known_hosts
129- printf 'Host aur.archlinux.org\n IdentityFile ~/.ssh/id_rsa\n StrictHostKeyChecking accept-new\n' > ~/.ssh/config
130- chmod 600 ~/.ssh/config
131126
132127 - name : Update PKGBUILD and push to AUR
128+ env :
129+ GIT_SSH_COMMAND : ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_rsa
133130 run : |
134131 VERSION=$(grep '^version:' clients/app/pubspec.yaml | sed 's/version: //;s/+.*//')
135132 TARBALL_URL="https://github.com/${{ github.repository }}/releases/download/v${VERSION}/LibreNotes-${VERSION}-linux-x86_64.tar.gz"
You can’t perform that action at this time.
0 commit comments