You can link your Engine Yard account to a GitHub account.
The advantage of linking your Engine Yard account to a GitHub account is that you don’t need to cut-and-paste deploy keys if the accounts are linked.
The disadvantage of linking your Engine Yard account to a GitHub account is that it gives your Engine Yard Cloud collaborators read access to all repositories in that GitHub account.
This page contains the following procedures:
- Link your Engine Yard account to a GitHub account (Method 1 or Method 2)
- Create an application from a repository in a linked GitHub account
- Unlink your Engine Yard account from a GitHub account
Which GitHub account to link to?
You can link your Engine Yard account to only one GitHub account. Make sure that you choose the GitHub account that contains:
-
The repositories for the applications that you want to host on Engine Yard Cloud.
-
Only repositories that you want your collaborators to see.
For example, you might have two GitHub accounts: a personal GitHub account for early phase and private projects and a group account that contains the mainline versions of your company’s applications and that your colleagues/collaborators already have access to. You choose the group account to link your Engine Yard account to.
To link your Engine Yard account to a GitHub account (Method 1)
-
Log into the GitHub account that you want to link to.
-
In the Engine Yard Cloud Dashboard, click Create New Application.
-
On the Create New Application page, click Link account_name.
To link your Engine Yard account to a GitHub account (Method 2)
-
Log into the GitHub account that you want to link to.
-
In your Engine Yard account, go to Account > Account Settings.
-
Click on the account you want to link to a GitHub account.
You must be the account owner. -
Under the Services heading, click Link your account to GitHub.
-
Click OK.
To create an application from a repository in a linked GitHub account
-
Create an application for Engine Yard Cloud, making sure to do the following:
(For general instructions on creating an application, see Set up your application and environment):
a. In the Git Repository URI, select the name of the application from the dropdown menu or begin typing the name of application.
b. After you click Create Application, do not copy a git deploy key to your GitHub account.
Instead, the key is added directly to the linked GitHub account. The deploy key is named “Engine Yard Deploy Key app_name”.
To unlink your Engine Yard account from a GitHub account
-
In your Engine Yard account, go to Account > Account Settings.
-
Click on the account that you want to unlink from GitHub account.
You must be the account owner. -
Under the Services heading, click un-link.
Troubleshooting
Symptom | Solution |
---|---|
I don't see GitHub under the Services heading on the Account Settings page. | You must be the owner of the Engine Yard account to link or unlink with GitHub. Ask the account owner to perform these tasks. |
If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.
Is that possible to link multiple github accounts with a single engineyard account?
Thanks,
Mathieu
Hi Mathieu,
Our apologies for the delayed response. We are in the process of reorganizing these forums and unfortunately your question slipped through the cracks amid all the shuffle.
It is a one-to-one relationship; only one github account per Engine Yard account. However, you can un-link one github account and link it to a different one without impacting your Engine Yard environment.
Thanks,
-diana