You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, after a few tries, I have found an easy way to deploy your github applications without adding SSH keys, just adding the credentials of your Github account to the HTTPS address, and would like to share with the community, for example:
it will only be necessary to define in the project code, following example:
/** * The address of the remote Git repository that contains the code that's being * deployed. * If the repository is private, you'll need to use the SSH address. * * @var string */define('REMOTE_REPOSITORY', 'https://USERNAME:PASSWORD@github.com/username/repo-name.git');
This method can also be used by repository collaborator accounts, making it easier for those who need to deploy the application to multiple servers without generating SSH keys.
The text was updated successfully, but these errors were encountered:
Hello everyone, after a few tries, I have found an easy way to deploy your github applications without adding SSH keys, just adding the credentials of your Github account to the HTTPS address, and would like to share with the community, for example:
[GitHub] https://USERNAME:PASSWORD@github.com/username/repo-name.git
it will only be necessary to define in the project code, following example:
This method can also be used by repository collaborator accounts, making it easier for those who need to deploy the application to multiple servers without generating SSH keys.
The text was updated successfully, but these errors were encountered: