From 638ed07a22c282fcfb3225cd47b230e890043acb Mon Sep 17 00:00:00 2001 From: RyujiDanma Date: Tue, 7 Jun 2022 18:18:27 +0000 Subject: [PATCH] Only allow deploy on master --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7fc2b20..6d3747c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,4 +13,7 @@ steps: HOST: from_secret: shelter-host commands: - - lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no;set dns:order \"inet inet6\"; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/" \ No newline at end of file + - lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no;set dns:order \"inet inet6\"; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/" + when: + branch: + - master \ No newline at end of file