Delete ♻️
Delete stale Cloudflare Pages deployment.
https://developers.cloudflare.com/api/operations/pages-deployment-delete-deployment
npm install -g @playform/deleteDelete -e example@account.com -i accountId -k accountKeyNote
This will not delete your last running deployment.
-V, --version output the version number
-e, --Email Account E-mail. < Email > Cloudflare
-i, --ID Account ID. < ID > Cloudflare
-k, --Key API key. < Key > Cloudflare
-h, --help display help for commandYou can also publish it as a worker:
wrangler deploySource/Main.ts
await (
await import("@playform/delete")
)(Email, ID, Key);.env
Email="example@account.com"
ID="accountId"
Key="accountKey"See CHANGELOG.md for a history of changes to this utility.