Add new secret to readme

This commit is contained in:
Christoph Schlosser 2018-02-06 22:10:06 +01:00 committed by GitHub
parent a76f085a7e
commit 63b74d8027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
## Usage ## 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 ### Basic
@ -15,9 +15,8 @@ You have to set the password for your FTP server in the `FTP_PASSWORD` secret.
pipeline: pipeline:
deploy: deploy:
image: cschlosser/drone-ftps image: cschlosser/drone-ftps
username: drone
hostname: example.com:21 hostname: example.com:21
secrets: [ ftp_password ] secrets: [ ftp_username, ftp_password ]
``` ```
### Optional settings ### Optional settings
@ -43,9 +42,8 @@ Full file:
pipeline: pipeline:
deploy: deploy:
image: cschlosser/drone-ftps image: cschlosser/drone-ftps
username: drone
hostname: example.com:21 hostname: example.com:21
secrets: [ ftp_password ] secrets: [ ftp_username, ftp_password ]
secure: true secure: true
dest_dir: /var/www/mysite dest_dir: /var/www/mysite
src_dir: /mysite/static src_dir: /mysite/static