Compare commits

..

No commits in common. "5e207a576217ff7d5382b3c57fbbe5cedbb1e4ac" and "803c7d68cef1969cb646eeab407aeaf7dc3b370e" have entirely different histories.

9 changed files with 19 additions and 22 deletions

11
cd-init
View file

@ -1,11 +0,0 @@
mkdir --parents ~/.ssh
echo "${CD}" > ~/.ssh/id_ed25519
unset CD
chmod 400 ~/.ssh/id_ed25519
ssh \
-o StrictHostKeyChecking=accept-new \
'cd@de.tilde.link' \
-- \
hostname

View file

@ -1 +0,0 @@
apt-get install "${@}"

View file

@ -1,2 +0,0 @@
unset TOP_SECRET
env | sort

View file

@ -1,8 +0,0 @@
apt-get install --yes 'rsync'
rsync \
--archive \
--delete-before \
--verbose \
'out/' \
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"

1
env Executable file
View file

@ -0,0 +1 @@
env | sort

18
sync Executable file
View file

@ -0,0 +1,18 @@
apt-get install --yes 'rsync'
mkdir --parents ~/.ssh
echo '${{secrets.cd}}' > ~/.ssh/id_ed25519
chmod 400 ~/.ssh/id_ed25519
ssh \
-o StrictHostKeyChecking=accept-new \
'cd@de.tilde.link' \
-- \
hostname
rsync \
--archive \
--delete-before \
--verbose \
'out/' \
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"