From b7ab5a1f30da01ea7da66836b1b58b7ad5e34541 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 23 Mar 2024 12:10:20 +0100 Subject: [PATCH] python3 --- cd-init | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/cd-init b/cd-init index 03f06f6..85c1259 100755 --- a/cd-init +++ b/cd-init @@ -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' \