This commit is contained in:
Marc Beninca 2024-03-23 12:10:20 +01:00
parent 52a7cd1d44
commit b7ab5a1f30
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

20
cd-init
View file

@ -1,9 +1,3 @@
# packages
apt-get install --yes \
'rsync' \
'tree' \
# ssh
mkdir --parents ~/.ssh
@ -18,13 +12,9 @@ ssh-ed25519 \
AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5
" > ~/.ssh/known_hosts
# variables
# packages
export SSH_ID='cd'
export SSH_URL="\
${SSH_ID}@$(basename ${GITHUB_SERVER_URL})\
:\
/${SSH_ID}/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}\
"
echo "${SSH_URL}"
apt-get install --yes \
'python3' \
'rsync' \
'tree' \