25 lines
450 B
Text
Executable file
25 lines
450 B
Text
Executable file
# packages
|
|
|
|
apt-get install --yes \
|
|
'rsync' \
|
|
'tree' \
|
|
|
|
# ssh
|
|
|
|
mkdir --parents ~/.ssh
|
|
|
|
echo "${CD}" > ~/.ssh/id_ed25519
|
|
unset CD
|
|
chmod 400 ~/.ssh/id_ed25519
|
|
|
|
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}"
|