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

Use wrangler outputs for wrangler deploy and versions upload #351

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Maximo-Guk
Copy link
Member

Addresses #343 and #311.

Uses wrangler outputs for wrangler deploy and versions upload so that we can accurately set deployment-url for wrangler deploy and versions upload

setOutput("deployment-alias-url", aliasUrl);
setOutput("pages-deployment-alias-url", aliasUrl);
}
switch (true) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look I kinda like it; But it's kinda clever. It took me a little too long to parse exactly and make sure you were doing what you wanted to do. It would be much more clear with simple if statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

versions commands do not set deployment-url Use wrangler deploy artifacts for deployment URLs
2 participants