From a8134cd70639789e17fa549c90132e38218e6b06 Mon Sep 17 00:00:00 2001 From: Nareshkumar Rao Date: Sat, 19 Feb 2022 01:15:50 +0100 Subject: [PATCH] updated .drone --- .drone.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9eee217..3796226 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,12 +24,18 @@ steps: event: tag - name: pushftp image: cschlosser/drone-ftps - hostname: nareshkumarrao.com - secrets: [ ftp_username, ftp_password ] - secure: true - dest_dir: master_thesis - include: - - ^Main.pdf$ + environment: + PLUGIN_HOSTNAME: nareshkumarrao.com:21 + FTP_USERNAME: + from_secret: ftp_username + FTP_PASSWORD: + from_secret: ftp_password + PLUGIN_SECURE: false + PLUGIN_DEST_DIR: master_thesis + PLUGIN_INCLUDE: + - ^Main.pdf$ + when: + event: tag trigger: event: