cschlosser / drone-ftps

Deploy to FTPS server from Drone CI build
https://hub.docker.com/r/cschlosser/drone-ftps/
Apache License 2.0
20 stars 16 forks source link

Add debug option, SSH auto confirm fingerprint #26

Closed Bouni closed 2 years ago

Bouni commented 2 years ago

This PR fixes #25

It allows to specify PLUGIN_DEBUG which adds the -d flag. This is very helpful if the plugin does not work for some reason.

Furthermore it adds PLUGIN_AUTO_CONFIRM which answers the Are you sure you want to continue connecting (yes/no/[fingerprint])? automatically with yes.

And finally I added the new PLUGIN_DEBUG PLUGIN_AUTO_CONFIRM as well as two mission options PLUGIN_CHMOD PLUGIN_CLEAN_DIR to the README.