diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae759db..099eda9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,8 +49,8 @@ check updates: - eval "$(ssh-agent -s)" - chmod 0600 $SSH_UPDATE_KEY - ssh-add $SSH_UPDATE_KEY - - mkdir -p ~/.ssh && touch ~/.ssh/known_hosts - - ssh-keyscan git.lewd.wtf >> ~/.ssh/known_hosts + - mkdir -p ~/.ssh + - echo "git.lewd.wtf ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFwrxReUiOwvUq6ZwvsVVZiJbIGhNrfgwMrEXKEW/2t4" > ~/.ssh/known_hosts - git config --global user.name "NixOS Flake Update" - git config --global user.email "git@lewd.wtf" - git remote rm origin && git remote add origin "git@git.lewd.wtf:${CI_PROJECT_PATH}.git"