You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ ../upsun push
Selected project: test (ismaivrbmrny6)
Pushing HEAD to the environment main (type: production) of project test (ismaivrbmrny6)
Are you sure you want to continue? [Y/n] Y
fish: Unknown command: upsun
fish:
upsun ssh-cert:load --refresh-only --yes --quiet 2>/dev/null
^~~~^
Upsun should not expect himself in the PATH and should use the called binary aka arg 0 for further execution.
The text was updated successfully, but these errors were encountered:
Using arg 0 would not work in that case, as the SSH daemon (that needs to refresh the SSH keys) will not be in the same directory as you when executing that command.
An alternative approach would be to try to get the absolute path and use that if it's a command that needs to use it (ie certificate refresh, calling on itself, etc, while keeping the existing binary config option for documentation purposes.
Note the listed error is actually upsun calling ssh, and then ssh calling upsun. There wouldn't be a way to use arg 0 in this case. Perhaps we could configure SSH with an absolute path to upsun, but that could be fragile.
Upsun should not expect himself in the PATH and should use the called binary aka arg 0 for further execution.
The text was updated successfully, but these errors were encountered: