hypervtechnics / drone-sftp

A plugin for Drone to enable uploading via SFTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drone-sftp

A plugin for Drone to upload files to an SFTP server.

Usage

- name: deploy
  image: hypervtechnics/drone-sftp
  settings:
    host: sftp.example.com        # The host
    port: 22                      # The port
    username:                     # The username
      from_secret: sftp_username  # Use username from secret store
    password:                     # The password
      from_secret: sftp_password  # Use password from secret store
    source: ./                    # The source directory
    filter: *.*                   # The filter for the files to upload. *.* is for all
    target: /                     # The target directory
    clean: false                  # Removes all files and directories in target
    overwrite: false              # Allows overwriting already existing files
    verbose: false                # Whether to make a lot of output like e.g. deleted and uploaded files

About

A plugin for Drone to enable uploading via SFTP

License:MIT License


Languages

Language:C# 92.3%Language:Dockerfile 7.7%