Skip to main content

Consultation de l’historique de déploiement

Voir les déploiements présents et passés de votre dépôt.

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 pin an environment to the top of the deployment history list, repository administrators can click to the right of the environment. You can pin up to ten environments.
    • 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.
  3. Optionally, to filter the deployment history list, create a filter.
    1. Click on the Filter button.
    2. Click Add a filter.
    3. Choose a qualifier you would like to filter the deployment history by.
    4. Depending on the qualifier you chose, fill out information in the "Operator" and "Value" columns.
    5. Optionally, click Add a filter to add another filter.
    6. Click Apply.