[CI/CD] install openssh and rsync
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vri 🌈 2023-03-29 20:56:42 +02:00
parent b5501eb9eb
commit 819404a44c
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -8,10 +8,11 @@ pipeline:
upload:
image: archlinux
commands:
- pacman -Syu openssh rsync
- mkdir -p ~/.ssh
- echo "$SSH-KEY" > ~/.ssh/id_25519
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rv -e "ssh -p $SSH-PORT -i ~/.ssh/id_ed25519" /woodpecker/build/ woodpecker@$SSH-HOST:/home/woodpecker/build/vrifox.cc/ --checksum
secrets: [ ssh-key, ssh-port, ssh-host, ssh-dir ]
secrets: [ ssh-key, ssh-port, ssh-host ]
branches: main