---
title: "Get the status of a GitHub Pages deployment"
method: GET
path: "/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"
tags: ["repos"]
---

# Get the status of a GitHub Pages deployment

`GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}`

Gets the current status of a GitHub Pages deployment.

The authenticated user must have read permission for the GitHub Pages site.

## Path parameters

- `owner` string, required
- `repo` string, required
- `pages_deployment_id` union, required
  - integer
  - string

## Response `200`

Response

- PagesDeploymentStatus
  - `status` 'deployment_in_progress' | 'syncing_files' | 'finished_file_sync' | 'updating_pages' | 'purging_cdn' | 'deployment_cancelled' | 'deployment_failed' | 'deployment_content_failed' | 'deployment_attempt_error' | 'deployment_lost' | 'succeed' — The current status of the deployment.

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/api-github-com.md) · [All operations](https://skmtc.net/github/apis/api-github-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/api-github-com/revisions/a367f7028301/schema)
