Maximilian Keßler
34f0a41699
All checks were successful
Build LaTeX packages / build (push) Successful in 1m44s
17 lines
511 B
Bash
Executable file
17 lines
511 B
Bash
Executable file
set -e
|
|
|
|
# Set up ssh private key
|
|
mkdir -p ~/.ssh
|
|
chmod 700 ~/.ssh
|
|
|
|
echo "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519
|
|
chmod 600 ~/.ssh/id_ed25519
|
|
|
|
# Set up remote host key fingerprint
|
|
echo "git.abstractnonsen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B" >> ~/.ssh/known_hosts
|
|
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)"
|
|
|
|
echo "Successfully added ssh deploy keys"
|