mv
This commit is contained in:
parent
803c7d68ce
commit
52cac591c8
5 changed files with 0 additions and 0 deletions
18
cd-synchronize-output
Executable file
18
cd-synchronize-output
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…
Add table
Add a link
Reference in a new issue