Skip to content
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

Git pull not being executed over SSH #28

Closed
slavanossar opened this issue Jan 31, 2019 · 1 comment
Closed

Git pull not being executed over SSH #28

slavanossar opened this issue Jan 31, 2019 · 1 comment

Comments

@slavanossar
Copy link

I think this line needs to reference the REMOTE_REPOSITORY defined in the config (it's not referenced anywhere else in deployer.php). Without it git pull is executed over HTTPS giving the following error:

fatal: could not read Username for 'https://github.com': No such device or address

$result = shell_exec(GIT . " pull 2>&1");

@slavanossar
Copy link
Author

Sorry, realised the url in .git/config was incorrect due to how I cloned the repository on my VPS. Maybe consider removing that config setting seeing as it isn't used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant