From d5a03aef447285c4fa7944461e071900027b4e13 Mon Sep 17 00:00:00 2001 From: vrifox Date: Wed, 29 Mar 2023 22:19:04 +0200 Subject: [PATCH] [CI/CD] try to create the file before writing into it --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 56bf658..f2e57eb 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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