Skip to main content

Viewing deployment history

View current and previous deployments for your repository.

Note: Deployment history is currently in beta and subject to change.

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 "Using 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

In the right-hand sidebar of the home page of your repository, click Deployments.

Viewing an environment's deployment history

To view recent deployments for a specific environment, under Deployments, click any currently active or recent environment.

Viewing commits that triggered deployments

To view the associated commit that triggered the deployment, to the right of the deployment status badge, click the commit message.

Note: Deployments from commits originating 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 the deployment, to the right of the commit message, click .

Note: If a deployment does not have an associated URL, the button is not displayed.

Accessing workflow run logs

To navigate to the workflow run logs associated with the deployment, to the right of the commit message, click . Then click View logs.

Note: If a deployment does not have an associated workflow run, the button is not displayed.