Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add wrangler pages deployment list #758

Merged

Conversation

sidharthachatterjee
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee commented Apr 4, 2022

This adds a wrangler pages deployment list command that lets you list the deployments in your Cloudflare Pages for an account.

It reuses the requireAuth helper (which I moved into user) to render an account selector (similar to #757)

Here is what it renders:
Screenshot 2022-04-06 at 13 05 15

Notice the lengthy Build url. That is annoying and I would really like us to use a url shortener across the board to shorten these down to prevent overflow on smaller terminal windows. We'll follow up in a PR for this eventually.

@changeset-bot
Copy link

changeset-bot bot commented Apr 4, 2022

🦋 Changeset detected

Latest commit: 40727cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2022

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2102390897/npm-package-wrangler-758

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/758/npm-package-wrangler-758

Or you can use npx with this latest build directly:

npx https://prerelease-registry.developers.workers.dev/runs/2102390897/npm-package-wrangler-758 dev path/to/script.js

@petebacondarwin petebacondarwin added the pages Relating to Pages label Apr 4, 2022
@GregBrimble
Copy link
Member

Is there any way to get the branch name on here anywhere? Maybe a second line in the source cell?

@sidharthachatterjee sidharthachatterjee merged commit 9bd95ce into cloudflare:main Apr 6, 2022
@github-actions github-actions bot mentioned this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pages Relating to Pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants