Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.29 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.29 KB

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