/scp-upload

Upload files using SCP

Primary LanguageShellApache License 2.0Apache-2.0

SCP Upload

License Action type

Supported runners

Supported runner

This action allows to upload files using SCP with key-based authentication.

Usage

- uses: betanzos/scp-upload@v1
  with:
    # Source local file path
    # REQUIRED
    source:

    # Remote host
    # REQUIRED
    host:

    # Remote host SSH port
    port: '22'

    # Remote host username
    # REQUIRED
    username:

    # SSH private key
    # REQUIRED  
    key:

    # Remote directory to copy the file. Default $HOME
    # REQUIRED  
    remote_dir: '~'

    # Recursively copy entire source directories. Valid values: true and false (specified as strings)
    recursive: 'false'

License

The source code, scripts and documentation in this project are released under the Apache-2.0 License