-
Notifications
You must be signed in to change notification settings - Fork 690
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
🚀 Feature Request: Get alias after wrangler pages deploy
#3717
Comments
yes i need this as well. will be nice if we can access the alias via output step on github actions somehow |
+1 |
hi folks, just to clarify... what is meant by |
We haven't heard from you in while so I'm going to close this issue for now. If you're still running into problems feel free to comment with more details and we can investigate further. |
"When a preview deployment is published, it is given a unique, hash-based address — for example, <hash>.<project>.pages.dev. These are atomic and may always be visited in the future. However, Pages also creates an alias for git branch’s name and updates it so that the alias always maps to the latest commit of that branch." (doc link) I'd like this get the alias url from the |
|
for now I'm running this command in my github action so I can get the url manually:
|
This is now available in Wrangler v3.78.0 -- to grep the alias you can do |
Describe the solution
Currently, the
wrangler pages deploy
command just returns the URL of the current deployment and not the alias. Especially for very long branches > 28 characters, it's unpredictable how the alias will look like.The text was updated successfully, but these errors were encountered: