mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-07 00:22:20 +01:00
* feat: latest Alpine 3.23.0 * feat: latest Rsync 3.4.1-r1 * feat: integrate [rsync-docker](https://github.com/JoshPiper/rsync-docker/) 3rd party into this action as 1st party code (no more dependency, better audit, single source of truth) - backported: - agent-start - agent-stop - agent-askpass - agent-add - hosts-add - hosts-clear - new added: - ssh-init - hosts-init - improved: - stricter permissions on .ssh/ folder (700) and known_hosts (600) - use set -eu in all scipts * feat: new ``strict_host_keys`` option to enable support for strict host key verification. Default: false (to keep backward compatibility) * feat: new ``debug`` option to see the commands executed (-x) by this action * feat: this action is now scanned for vulnerabilities by Snyk * feat; this action is now scanned by CodeQL for Q/A * feat: this action now performs CI tasks such as Validation, Linting and Unit Tests * fix: various shell syntax for robustness * fix: use printf and redirect output to non-stdout instead of echo in sensitive code locations * refactor: use $HOME instead of tilde ~ for robustness * feat: cross-platform support * chore: Deprecate 7.0.2 * chore: EOL 7.0.0 & 7.0.1
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
name: 'Rsync Deployments Action'
|
|
description: 'GitHub Action for deploying code via rsync over ssh'
|
|
author: 'Burnett01'
|
|
inputs:
|
|
switches:
|
|
description: 'The switches'
|
|
required: true
|
|
rsh:
|
|
description: 'The remote shell argument'
|
|
required: false
|
|
default: ''
|
|
legacy_allow_rsa_hostkeys:
|
|
description: 'Enables support for legacy RSA host keys on OpenSSH 8.8+'
|
|
required: false
|
|
default: 'false'
|
|
strict_hostkeys_checking:
|
|
description: 'Controls strict host keys checking'
|
|
required: false
|
|
default: 'false'
|
|
path:
|
|
description: 'The local path'
|
|
required: false
|
|
default: ''
|
|
remote_path:
|
|
description: 'The remote path'
|
|
required: true
|
|
remote_host:
|
|
description: 'The remote host'
|
|
required: true
|
|
remote_port:
|
|
description: 'The remote port'
|
|
required: false
|
|
default: 22
|
|
remote_user:
|
|
description: 'The remote user'
|
|
required: true
|
|
remote_key:
|
|
description: 'The remote key'
|
|
required: true
|
|
remote_key_pass:
|
|
description: 'The remote key passphrase'
|
|
required: false
|
|
default: ''
|
|
debug:
|
|
description: 'Debug the action'
|
|
required: false
|
|
default: 'false'
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
branding:
|
|
icon: 'send'
|
|
color: 'gray-dark'
|