Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Specify Information About a Revision Stored in a GitHub Repository

Follow these steps to add details about an application revision stored in a GitHub repository when you are following the steps in Create a Deployment (Console).

  1. Choose Connect with GitHub.

    Note

    If you see a Reconnect with GitHub link instead of a Connect with GitHub button, this is expected behavior. Do not choose the link. Continue to the next step. For information about why this happens, see GitHub Authentication with Applications in AWS CodeDeploy.

    If you see a blank web page that briefly appears and then disappears, and you don't see a Reconnect with GitHub link or a Connect With GitHub button, this is also expected behavior. Continue to the next step. For information about why this happens, see GitHub Authentication with Applications in AWS CodeDeploy.

  2. If you are prompted to sign in to GitHub, follow the instructions on the Sign in page. Sign in with your GitHub user name or email and password.

  3. If an Authorize application page appears, choose Authorize application.

  4. On the Create deployment page, in the Repository name box, type the GitHub user or organization name that contains the revision, followed by a forward slash (/), followed by the name of the repository that contains the revision. If you are unsure of the value to type:

    1. In a separate web browser tab, go to your GitHub dashboard.

    2. In the Your repositories area, hover your mouse pointer over the target repository name. A tooltip appears, displaying the GitHub user or organization name, followed by a forward slash (/), followed by the name of the repository. Type this displayed value into the Repository name box.

      Note

      If the target repository name is not visible in the Your repositories area, use the Search GitHub box to find the target repository name and GitHub user or organization name.

  5. In the Commit ID box, type the ID of the commit that refers to the revision in the repository. If you are unsure of the value to type:

    1. In a separate web browser tab, go to your GitHub dashboard.

    2. In the Your repositories area, choose the repository name that contains the target commit.

    3. In the list of commits, find and copy the commit ID that refers to the revision in the repository. This ID is typically 40 characters in length and consists of both letters and numbers. (Do not use the shorter version of the commit ID, which is typically the first 10 characters of the longer version of the commit ID.)

    4. Paste the commit ID into the Commit ID box.