mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
Update documentation
This commit is contained in:
parent
5d7c8ba4a5
commit
cd70a2137b
1
DOCS.md
1
DOCS.md
@ -211,3 +211,4 @@ Example configuration for passphrase which protecting a private key:
|
||||
| `proxy_password` | password for proxy host user |
|
||||
| `proxy_key` | plain text of proxy private key |
|
||||
| `proxy_key_path` | key path of proxy private key |
|
||||
| `no_auto_env` | if true, will not automatically load configs from `.env` file |
|
||||
|
@ -122,4 +122,6 @@ Configuration options are loaded from multiple sources:
|
||||
2. From a dotenv file at a path specified by the `PLUGIN_ENV_FILE` environment variable.
|
||||
3. From your `.drone.yml` Drone configuration.
|
||||
|
||||
If a `PLUGIN_NO_AUTO_ENV` environment variable (or drone configuration setting `no_auto_env`) is `"true"`, the container will skip loading `.env` unless otherwise specified by the `PLUGIN_ENV_FILE` environment variable (or by the `env_file` drone configuration setting).
|
||||
|
||||
Later sources override previous sources, i.e. if `PORT` is set in an `.env` file committed in the repository or created by previous test steps, it will override the default set `main.go`.
|
||||
|
Loading…
Reference in New Issue
Block a user