Skip to content
upload-cloud

GitHub Action

SCP Upload

v1.1.0 Latest version

SCP Upload

upload-cloud

SCP Upload

Upload files using SCP

Installation

Copy and paste the following snippet into your .yml file.

              

- name: SCP Upload

uses: betanzos/scp-upload@v1.1.0

Learn more about this action in betanzos/scp-upload

Choose a version

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