Skip to content

CfPagesDeployment

Defined in: pages/pages.ts:68

A deployment of a Pages project.

created_on: string

Defined in: pages/pages.ts:90

When the deployment was created, as an ISO 8601 string.


deployment_trigger: object

Defined in: pages/pages.ts:76

What triggered the deployment.

metadata: object

Details of the commit that triggered the deployment.

branch: string

The branch that was deployed.

commit_hash: string

The commit that was deployed.

type: string

The kind of trigger.


environment: "preview" | "production"

Defined in: pages/pages.ts:74

The environment the deployment belongs to.


id: string

Defined in: pages/pages.ts:70

The deployment’s identifier.


latest_stage: CfPagesDeploymentStage

Defined in: pages/pages.ts:88

The deployment’s most recent stage.


url: string

Defined in: pages/pages.ts:72

The URL the deployment is served at.