Hi. I`m trying to configure automatic deployment from mercurial repository. I have remote server with cloned repository, I have configured ssh public keys and php deployment script. The php script tries to pull from repository. If I call the script from the comand line (connected with shh to remote server) like:
it pulls succesfully.
I have configured POST hook in bitbucket.
But when I
m pushing from other repository (local) to bitbucket and hook sends POST query to my remote server, the deployment script cant pull changes, it says "remote: Permission denid (public key)".