Commit 562c005
committed
ci: pass SSH_PORT through to appleboy/ssh-action
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.1 parent 38bd166 commit 562c005
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments