Supported runners
This action allows to upload files using SCP with key-based authentication.
- 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'
The source code, scripts and documentation in this project are released under the Apache-2.0 License