CfPagesDeployment
Defined in: pages/pages.ts:68
A deployment of a Pages project.
Properties
Section titled “Properties”created_on
Section titled “created_on”created_on:
string
Defined in: pages/pages.ts:90
When the deployment was created, as an ISO 8601 string.
deployment_trigger
Section titled “deployment_trigger”deployment_trigger:
object
Defined in: pages/pages.ts:76
What triggered the deployment.
metadata
Section titled “metadata”metadata:
object
Details of the commit that triggered the deployment.
metadata.branch
Section titled “metadata.branch”branch:
string
The branch that was deployed.
metadata.commit_hash
Section titled “metadata.commit_hash”commit_hash:
string
The commit that was deployed.
type:
string
The kind of trigger.
environment
Section titled “environment”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
Section titled “latest_stage”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.