-
Notifications
You must be signed in to change notification settings - Fork 359
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
KEY and PUBKEY not getting passed properly. #79
Comments
Thanks for spending so much time looking into this before posting. I have run into similar issues when arguments have a space. |
Hmm...neither my username nor password have spaces. The username is an email address, and the password does have a |
I have the same issue. I checked git-ftp command on my local environment. This command without |
But I got same error on github actions. :(
|
I am interested in this workflow as well, for deploying to AWS LightSail. Is there an example of "best practice" for using SFTP with public and private keys? |
Unfortunately running into this issue as well, trying to use ssh key authentication.
My actions yml has the ftp-server set explicitly as plaintext as I'm using |
Yes I also ran into the exact same mistake. Is there a solution/workaround? |
version 4 resolves this. Please upgrade to the latest version. |
Bug Description
I'm trying to use SFTP with private/public keys via the
key
andpubkey
options togit-ftp
. However, it seems to pass something unrecognized by git-ftp which then flags my server connection string as an "unrecognised option" (see the logs below and this comment which links states that git-ftp uses the first unknown option as the URL and then flags the URL as the unrecognized option).If I delete the remote directory, take out the
key
andpubkey
options, and instead passinsecure
, the whole repo uploads…but the whole repo uploads EVERY time. It writes the SHA but cannot read it (Unknown SHA1 object, could not determine changed files, taking all files.
).I've tried to replicate
git-ftp
command locally (just plugging in all the variables) and everything worked fine. It read the SHA and properly uploaded only what had changed. I then realized that my local version ofgit-ftp
was 1.6.0, not 1.5.1 (which is what the action is using). Could that be the problem?Any light you can shed on what I'm doing wrong would be really helpful.
My Action Config
My Action Log (relevant section)
The text was updated successfully, but these errors were encountered: