Skip to content

betanzos/scp-upload

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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