2022-01-30 21:36:18 +01:00
|
|
|
set -e
|
2021-10-24 11:23:20 +02:00
|
|
|
eval $(ssh-agent -s)
|
2023-10-18 09:55:28 +02:00
|
|
|
echo "$SSH_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
|
2021-10-24 11:23:20 +02:00
|
|
|
|
|
|
|
mkdir -p ~/.ssh
|
|
|
|
chmod 700 ~/.ssh
|
|
|
|
|
2023-10-18 11:25:56 +02:00
|
|
|
echo "abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts
|
2021-10-24 11:23:20 +02:00
|
|
|
chmod 644 ~/.ssh/known_hosts
|
|
|
|
|
|
|
|
git config --global user.email "git@maximilian-kessler.de"
|
|
|
|
git config --global user.name "Maximilian Keßler (via gitlab runner)"
|