diff --git a/cd-init b/cd-init index 6091431..79a9a46 100755 --- a/cd-init +++ b/cd-init @@ -1,7 +1,3 @@ -export SSH='cd@de.tilde.link' - -export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}" - # packages apt-get install --yes \ @@ -16,8 +12,14 @@ echo "${CD}" > ~/.ssh/id_ed25519 unset CD chmod 400 ~/.ssh/id_ed25519 -ssh \ --o StrictHostKeyChecking=accept-new \ -"${SSH}" \ --- \ -hostname +echo -n "\ +|1|BcccCTMLpM9HHSgJmPu/FFOwOv0=|+3BKK02xibpCPxQ9Nghi2GbXLng= \ +ssh-ed25519 \ +AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5 +" > ~/.ssh/known_hosts + +# variables + +export SSH="cd@de.tilde.link" + +export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}"