From 819404a44ccb48668983215b1efb06e058ab3d67 Mon Sep 17 00:00:00 2001 From: vrifox Date: Wed, 29 Mar 2023 20:56:42 +0200 Subject: [PATCH] [CI/CD] install openssh and rsync --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 67f2eb6..d903b36 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 \ No newline at end of file