Skip to content

ci: pass SSH_PORT through to appleboy/ssh-action#58

Merged
Archasion merged 1 commit into
mainfrom
ci/ssh-port
May 9, 2026
Merged

ci: pass SSH_PORT through to appleboy/ssh-action#58
Archasion merged 1 commit into
mainfrom
ci/ssh-port

Conversation

@Archasion

Copy link
Copy Markdown
Member

The host listens on a non-default port; without port: the action defaults to 22 and the SSH connection fails before the deploy script ever runs. Sourcing the value from a new SSH_PORT secret keeps the port off the workflow file (and out of git history) and falls through to 22 when the secret is unset.

The host listens on a non-default port; without `port:` the action
defaults to 22 and the SSH connection fails before the deploy
script ever runs. Sourcing the value from a new SSH_PORT secret
keeps the port off the workflow file (and out of git history) and
falls through to 22 when the secret is unset.
@Archasion Archasion merged commit 3d2a17d into main May 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant