Add new secret to readme
This commit is contained in:
parent
a76f085a7e
commit
63b74d8027
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user