From 18db1c10e92959d14de4a4babd30890a8bc7f1c2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 16 Aug 2020 10:12:17 +0200 Subject: [PATCH] Fix: filter to exclude --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 10acaf5..2f8661f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,7 @@ steps: - echo "$SSH_KEY" | ssh-add - - mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - - rsync -rv --delete -e "ssh -p 22" --filter "project /enseignements/" ./output/ sshcontent@91.121.90.228:~/opytex.org/www/ --checksum + - rsync -rv --delete -e "ssh -p 22" --exclude "enseignements/" ./output/ sshcontent@91.121.90.228:~/opytex.org/www/ --checksum environment: SSH_KEY: from_secret: sshcontent-key