Skip to main content

Viewing deployment history

View current and previous deployments for your repository.

About deployment history

You can deliver deployments through GitHub Actions and environments or with the REST API and third party apps. For more information about using environments to deploy with GitHub Actions, see Managing environments for deployment. For more information about deployments with the REST API, see REST API endpoints for repositories.

On the deployments page of your repository, you can view the following aspects of your deployments.

  • Currently active deployments across various environments
  • Deployments filtered by environment
  • Your repository's full deployment history
  • Associated commits that triggered the deployment
  • Connected GitHub Actions workflow logs
  • The deployment URL (if one exists)
  • The source pull request and branch related to each deployment
  • Deployment statuses. For more information about deployment statuses, see REST API endpoints for deployments.

By default, the deployments page shows currently active deployments from select environments and a timeline of the latest deployments for all environments.

Viewing your repository's deployment history

  1. In the right-hand sidebar of the home page of your repository, click Deployments.
  2. Once you are on the "Deployments" page, you can view the following information about your deployment history.
    • To view recent deployments for a specific environment, in the "Environments" section of the left sidebar, click an environment.
    • To view the commit that triggered a deployment, in the deployment history list, click the commit message for the deployment you want to view.

      Note

      Deployments from commits that originate from a fork outside of the repository will not show links to the source pull request and branch related to each deployment. For more information about forks, see About forks.

    • To view the URL for a deployment, to the right of the commit message in the deployment history list, click .
    • To navigate to the workflow run logs associated with a deployment, to the right of the commit message in the deployment history list, click , then click View logs.