I have a remote bitbucket mercurial repository on which I would like to push if the appveyor build succeed.
I understand how the keyword on_success works but not how to push on this bitbucket repository. I read some thread about login into a git repository and I would like to the same for mercurial repository.
Thank you for your help.

#1 Posted by Ilya Finkelshte... on 24 Nov, 2016 01:41 AM
Hello,
Here is what I tried on my lab and it seems to work:
Points 1 – 3 needed to allow appveyor to push, as by default SSH key used is deployment key which has read-only permissions.
This assumes that is the same on BitBucket and AppVeyor. Please replace accordingly if it different.
--ilya.
#2 Posted by botella.arnaud on 24 Nov, 2016 08:02 AM
Thank you for your answer.
I understand what you propose. However, I do not find the SSH public key in appveyor... My project is public, so it seems Appveyor do not need a ssh key to clone the repository.
Where can I find or create one for Appveyor? Maybe I can create a public and private key and copy them during the install part of the build.
#3 Posted by Ilya Finkelshte... on 24 Nov, 2016 11:01 AM
This is what works for me with public project. I took hint from here
--ilya.
#4 Posted by botella.arnaud on 25 Nov, 2016 07:02 AM
It works! Thank you! :)
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:09 AM.