From 63b74d8027de3a1d8d1e3878548da8fb56daf1ac Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Tue, 6 Feb 2018 22:10:06 +0100 Subject: [PATCH] Add new secret to readme --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 81fa6cf..ba34b40 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Usage -You have to set the password for your FTP server in the `FTP_PASSWORD` secret. +You have to set the username and password for your FTP server in the `FTP_USERNAME` and `FTP_PASSWORD` secret. ### Basic @@ -15,9 +15,8 @@ You have to set the password for your FTP server in the `FTP_PASSWORD` secret. pipeline: deploy: image: cschlosser/drone-ftps - username: drone hostname: example.com:21 - secrets: [ ftp_password ] + secrets: [ ftp_username, ftp_password ] ``` ### Optional settings @@ -43,9 +42,8 @@ Full file: pipeline: deploy: image: cschlosser/drone-ftps - username: drone hostname: example.com:21 - secrets: [ ftp_password ] + secrets: [ ftp_username, ftp_password ] secure: true dest_dir: /var/www/mysite src_dir: /mysite/static @@ -57,4 +55,4 @@ pipeline: - ^*.css$ - ^*.js$ - ^*.html$ -``` \ No newline at end of file +```