Compare commits
No commits in common. "4ac2b666df50a8dc05e74d356e47b4aa81953e3e" and "5ee030a3e51eda42d3b1a613574845fcff718eee" have entirely different histories.
4ac2b666df
...
5ee030a3e5
3 changed files with 9 additions and 20 deletions
|
@ -1 +1,2 @@
|
||||||
|
apt-get install 'tree'
|
||||||
tree -a "${GITHUB_WORKSPACE}"
|
tree -a "${GITHUB_WORKSPACE}"
|
||||||
|
|
24
cd-init
24
cd-init
|
@ -1,25 +1,11 @@
|
||||||
# packages
|
|
||||||
|
|
||||||
apt-get install --yes \
|
|
||||||
'rsync' \
|
|
||||||
'tree' \
|
|
||||||
|
|
||||||
# ssh
|
|
||||||
|
|
||||||
mkdir --parents ~/.ssh
|
mkdir --parents ~/.ssh
|
||||||
|
|
||||||
echo "${CD}" > ~/.ssh/id_ed25519
|
echo "${CD}" > ~/.ssh/id_ed25519
|
||||||
unset CD
|
unset CD
|
||||||
chmod 400 ~/.ssh/id_ed25519
|
chmod 400 ~/.ssh/id_ed25519
|
||||||
|
|
||||||
echo -n "\
|
ssh \
|
||||||
|1|BcccCTMLpM9HHSgJmPu/FFOwOv0=|+3BKK02xibpCPxQ9Nghi2GbXLng= \
|
-o StrictHostKeyChecking=accept-new \
|
||||||
ssh-ed25519 \
|
'cd@de.tilde.link' \
|
||||||
AAAAC3NzaC1lZDI1NTE5AAAAIPHCNcgHlQoiNTXfnUZYvHz9OZwYsmBCrSSV7a7Zche5
|
-- \
|
||||||
" > ~/.ssh/known_hosts
|
hostname
|
||||||
|
|
||||||
# variables
|
|
||||||
|
|
||||||
export SSH="cd@de.tilde.link"
|
|
||||||
|
|
||||||
export TARGET="${SSH}:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}"
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
|
apt-get install --yes 'rsync'
|
||||||
|
|
||||||
rsync \
|
rsync \
|
||||||
--archive \
|
--archive \
|
||||||
--delete-before \
|
--delete-before \
|
||||||
--verbose \
|
--verbose \
|
||||||
'out/' \
|
'out/' \
|
||||||
"${TARGET}/"
|
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"
|
||||||
|
|
Loading…
Reference in a new issue