remote: Repository not found. fatal: Authentication failed for 'https://:@github.com/usre_name/repo.git/'
SanjayYadav90 opened this issue · comments
Sanjay Yadav commented
Deploy with private git repository giving error whereas with public repository working fine.
Here is the error-
fatal: Authentication failed for 'https://:@github.com/usre_name/repo.git/'
I am using mina to deploy rails(5) application, here is my system details-
About your application's environment
Rails version 5.2.3
Ruby version 2.6.3-p62 (x86_64-linux)
RubyGems version 3.0.4
Rack version 2.0.7
JavaScript Runtime Node.js (V8)
I also provided credential on prompt as-
--- Please authenticate yourself!
Enter username for the code source repository:
Enter password for user [] :
Thanks!
Default selected Branch for deployment is ->
------------------------------------------------
master
The moment I change my git repository to public it work well.
But noting working, I am stuck from few days.
Hope for support on the same.
Nikola Buhinicek commented
Hey, try setting your repository with an ssh
url, not with the https
one