oxaliq.net/.woodpecker/ssh.sh
maren ac32443f1c
All checks were successful
ci/woodpecker/push/build-and-deploy Pipeline was successful
move ssh setup to script
we want to see the output of the deploy steps in the UI
doesn't happen if it's a scipt
not sure this will work
2024-01-08 09:48:18 -05:00

7 lines
200 B
Bash
Executable file

#!/bin/sh -e
apk add openssh-client
mkdir -p $HOME/.ssh
ssh-keyscan -t ed25519 turtle.hup.is >> $HOME/.ssh/known_hosts
echo "$DEPLOY_SSH_KEY" > $HOME/.ssh/id_ed25519
chmod 0600 $HOME/.ssh/id_ed25519