summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorchristian2021-06-21 21:33:04 +0200
committerchristian2021-06-21 21:33:04 +0200
commit17760eddd1b24893a3ce08d00153634361281548 (patch)
treeb1807b5af2ee4b9d5198fd5f1e8692c7c27780c9
parent94091ac7bde339c5cb868325551f9ea1f621f6f8 (diff)
downloadaur-17760eddd1b24893a3ce08d00153634361281548.tar.gz
adds host key to known_hosts
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 001ddc1c5a57..ceb6af243eb0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,6 +59,8 @@ publish:
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
+ - ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
+ - chmod 644 ~/.ssh/known_hosts
- echo "$AUR_SSH_KEY" | tr -d '\r' | ssh-add -
- git remote add aur-defi-app-bin ssh://aur@aur.archlinux.org/defi-app-bin.git || true
- git push aur-defi-app-bin HEAD:master