Skip to content

Commit f378b4d

Browse files
EnigoWalshyDev
andauthored
[wrangler] Wrangler pages deployments list - added ID to output (#8641)
* [wrangler] Wrangler pages deployments list - added ID to output * Update changeset messaging --------- Co-authored-by: Enigo <> Co-authored-by: Daniel Walsh <[email protected]>
1 parent fcd71f8 commit f378b4d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/lemon-dragons-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
Added the Pages deployment id to the JSON output for `wrangler pages deployment list`

packages/wrangler/src/pages/deployments.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export async function ListHandler({ projectName, environment }: ListArgs) {
7272

7373
const data = deployments.map((deployment) => {
7474
return {
75+
Id: deployment.id,
7576
Environment: titleCase(deployment.environment),
7677
Branch: deployment.deployment_trigger.metadata.branch,
7778
Source: shortSha(deployment.deployment_trigger.metadata.commit_hash),

0 commit comments

Comments
 (0)