Problem uploading build with git

antoine villeret's Avatar

antoine villeret

01 Aug, 2015 09:04 AM


I've setup an after_build step in my appveyor.yml to upload my build artifact to a nightly-builds repo.

I'm using an encoded id_rsa which is decoded with openssl and 2 secure hex key.
Everything is fine until the git push step which doesn't output nothing and doesn't upload anything too.
So I'm wondering what's wrong with my config and why git stays quiet ?
I've already try several options (adding or not argument to git push, trying both simple and matching push method, cloning the whole history rather than just the latest state (with --depth=1)) without any success.

Could you help me on this ?

Best regard


  1. 1 Posted by antoine villere... on 01 Aug, 2015 09:05 AM

    antoine villeret's Avatar
  2. Support Staff 2 Posted by Feodor Fitsner on 01 Aug, 2015 07:46 PM

    Feodor Fitsner's Avatar

    OK, I see id_rsa file is copied to .ssh folder and let's assume it's valid.

    However, I see the issue with repository URL. To make SSH key work I think you should use SSH URL, not https:

    git clone --depth=1 c:\projects\nightly-builds
  3. 3 Posted by antoine villere... on 01 Aug, 2015 11:31 PM

    antoine villeret's Avatar

    you're the man !
    thanks a lot, using SSH instead of HTTPS works fine.
    but Git should have return an issue about that !


  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac