From 43cf1a6528d98f0f31736a13eeb4c25261896cef Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 12 Jul 2020 01:38:28 -0700 Subject: [PATCH] rsync condition --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 85dcb74..c6958aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,4 +21,8 @@ steps: source: public/ recursive: true user: hugo - secrets: [ rsync_key ] + key: + from_secret: rsync_key + when: + branch: + - main