Use this plugin to publish artifacts from the build to an SFTP server You can override the default configuration with the following parameters:
host
- Server hostport
- Server port, default to 22username
- Server username, default to blankpassword
- Password for password-based authenticationdestination_path
- Target path on the server, default to '/'files
- List of files to upload
All file paths must be relative to current project sources
The following is a sample configuration in your .drone.yml file:
publish:
sftp:
host: sftp.company.com
port: 2222
username: user
password: pa$$word
files:
- *.nupkg