SFTP Plugin

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 host
  • port - Server port, default to 22
  • username - Server username, default to blank
  • password - Password for password-based authentication
  • destination_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:

    host: sftp.company.com
    port: 2222
    username: user
    password: pa$$word
      - *.nupkg
This website is a public GitHub repository, which is forked from upstream Drone CI documentation. Please help us by forking and improving upstream Drone CI documentation or Tea CI documentation.