Compare commits
No commits in common. "5e207a576217ff7d5382b3c57fbbe5cedbb1e4ac" and "803c7d68cef1969cb646eeab407aeaf7dc3b370e" have entirely different histories.
5e207a5762
...
803c7d68ce
9 changed files with 19 additions and 22 deletions
11
cd-init
11
cd-init
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
apt-get install "${@}"
|
|
|
@ -1,2 +0,0 @@
|
||||||
unset TOP_SECRET
|
|
||||||
env | sort
|
|
|
@ -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
1
env
Executable file
|
@ -0,0 +1 @@
|
||||||
|
env | sort
|
18
sync
Executable file
18
sync
Executable 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}/"
|
Loading…
Reference in a new issue