Repository navigation
v2.1.0 – Modular Rewrite & SSH Security Features
This release introduces a full modular rewrite of the deployment logic and adds several SSH security-related options, improving flexibility, security and maintainability across Compose and Stack deployments.
What’s New
-
Modular Shell Script Structure
The deployment logic has been split into separate, focused scripts. This makes the action easier to understand, maintain and build upon. -
Passphrase Support for SSH Keys
Users can now provide anssh_key_passphraseto support encrypted private keys usingssh-agent. -
SSH Host Key Verification
The action now supports:ssh_known_hosts: full OpenSSH-compatible known_hosts contentfingerprint: a single-line public key for quick verification- If neither is provided, the host key is fetched via
ssh-keyscanwith a security warning
-
SSH Timeout Configuration
Atimeoutinput has been added to limit SSH connection attempts, helping prevent hanging builds in CI environments. -
Conditional Compose Image Pulling
Users can now setcompose_pulltofalseto skipdocker-compose pull, useful for offline or pre-pulled deployments.
Improvements
- All deployment logic has been restructured for clarity and reusability
- Docker Compose and Stack flows are now handled by separate scripts with correct environment and path handling
- More accurate and consistent logging throughout the deploy process
Stability and Maintenance
- Improved SSH connection handling with
ConnectTimeout,ServerAliveIntervalandServerAliveCountMax - All changes are backwards compatible — no breaking changes introduced
Tags
v2.1.0: Latest release (recommended)v2: Major version tag for stable workflows
Need help? Check the README, open an issue, or start a feature discussion.