Required vs optional

This commit is contained in:
Christoph Schlosser 2019-05-17 20:17:33 +02:00 committed by GitHub
parent f99d405a71
commit 022ff94a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,7 @@
You have to set the username and password for your FTP server in the `FTP_USERNAME` and `FTP_PASSWORD` secret. You have to set the username and password for your FTP server in the `FTP_USERNAME` and `FTP_PASSWORD` secret.
## Required settings
## Optional settings
```yaml ```yaml
environment: environment:
@ -19,6 +18,12 @@ environment:
FTP_PASSWORD: FTP_PASSWORD:
from_secret: password from_secret: password
PLUGIN_HOSTNAME: example.com:21 PLUGIN_HOSTNAME: example.com:21
```
## Optional settings
```yaml
environment:
PLUGIN_DEST_DIR: /path/to/dest (default /) PLUGIN_DEST_DIR: /path/to/dest (default /)
PLUGIN_SRC_DIR: /path/to/dest (default ./) PLUGIN_SRC_DIR: /path/to/dest (default ./)
PLUGIN_SECURE: true | false (default true) PLUGIN_SECURE: true | false (default true)