Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH_CMD_ARGS are not used in SCRIPT_BEFORE session #183

Open
fuljik opened this issue Mar 16, 2024 · 0 comments
Open

SSH_CMD_ARGS are not used in SCRIPT_BEFORE session #183

fuljik opened this issue Mar 16, 2024 · 0 comments

Comments

@fuljik
Copy link

fuljik commented Mar 16, 2024

SSH_CMD_ARGS are not being respected in the remoteCmdBefore call. It seems that it's only used for the rsync call. If you need it for the connection, you can't use it with the SCRIPT_BEFORE parameter.

https://github.com/easingthemes/ssh-deploy/blob/main/src/index.js

if (scriptBefore) {
    await remoteCmdBefore(scriptBefore, privateKeyPath, scriptBeforeRequired);
  }
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

No branches or pull requests

1 participant