[CI/CD] try to create the file before writing into it
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Vri 🌈 2023-03-29 22:19:04 +02:00
parent 158220006b
commit d5a03aef44
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -10,6 +10,7 @@ pipeline:
commands:
- pacman -Syu --noconfirm openssh rsync
- mkdir -p /root/.ssh
- touch /root/.ssh/id_25519
- echo "$SSH_KEY" > /root/.ssh/id_25519
- 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