This commit is contained in:
parent
d5a03aef44
commit
cb936bd6b6
1 changed files with 2 additions and 3 deletions
|
@ -10,8 +10,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm openssh rsync
|
- pacman -Syu --noconfirm openssh rsync
|
||||||
- mkdir -p /root/.ssh
|
- mkdir -p /root/.ssh
|
||||||
- touch /root/.ssh/id_25519
|
- echo "$SSH_KEY" > /root/.ssh/id_ed25519
|
||||||
- echo "$SSH_KEY" > /root/.ssh/id_25519
|
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > /root/.ssh/config
|
||||||
- rsync -rv -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
- rsync -rv -e "ssh -p $SSH_PORT -i /root/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH_HOST:/home/woodpecker/build/vrifox.cc/ --checksum
|
||||||
secrets: [ ssh_key, ssh_port, ssh_host ]
|
secrets: [ ssh_key, ssh_port, ssh_host ]
|
||||||
|
|
Loading…
Reference in a new issue