Compare commits
5 commits
a8c705a98b
...
ff173f91a0
Author | SHA1 | Date | |
---|---|---|---|
ff173f91a0 | |||
15ee431bb4 | |||
801eafa9a0 | |||
3b15feb70c | |||
19a7af861e |
4 changed files with 24 additions and 0 deletions
5
branch
Executable file
5
branch
Executable file
|
@ -0,0 +1,5 @@
|
|||
git clone \
|
||||
--branch "${GITHUB_REF_NAME}" \
|
||||
-- \
|
||||
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
|
||||
'.'
|
1
env
Executable file
1
env
Executable file
|
@ -0,0 +1 @@
|
|||
env | sort
|
16
sync
Executable file
16
sync
Executable file
|
@ -0,0 +1,16 @@
|
|||
apt-get install '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}/"
|
2
workspace
Executable file
2
workspace
Executable file
|
@ -0,0 +1,2 @@
|
|||
apt-get install 'tree'
|
||||
tree -a "${GITHUB_WORKSPACE}"
|
Loading…
Reference in a new issue