This commit is contained in:
parent
fb88adb929
commit
9623fcf0fe
17
.drone.yml
17
.drone.yml
@ -15,10 +15,10 @@ steps:
|
|||||||
- apt-get update
|
- apt-get update
|
||||||
- >-
|
- >-
|
||||||
apt-get
|
apt-get
|
||||||
install
|
install
|
||||||
openssh-client
|
openssh-client
|
||||||
rsync
|
rsync
|
||||||
-y
|
-y
|
||||||
- eval "$(ssh-agent -s)"
|
- eval "$(ssh-agent -s)"
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH_PRIV" > ~/.ssh/id_ed25519
|
- echo "$SSH_PRIV" > ~/.ssh/id_ed25519
|
||||||
@ -27,9 +27,12 @@ steps:
|
|||||||
- chmod 644 ~/.ssh/id_ed25519.pub
|
- chmod 644 ~/.ssh/id_ed25519.pub
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- >-
|
- >-
|
||||||
rsync_options=(
|
rsync
|
||||||
-avz
|
-avz
|
||||||
--recursive
|
--recursive
|
||||||
--delete
|
--delete
|
||||||
--delete-excluded)
|
--delete-excluded
|
||||||
- rsync $rsync_options -e "ssh -o IdentitiesOnly=yes" ./ doxygen-gcrypt@leonetienne.de:app
|
-e
|
||||||
|
"ssh -o IdentitiesOnly=yes"
|
||||||
|
./
|
||||||
|
doxygen-gcrypt@leonetienne.de:app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user