Remove pages specific outputs from wrangler deploy command

This commit is contained in:
Maximo Guk 2024-11-13 16:35:40 -06:00
parent d58f116d72
commit e7e5400334
No known key found for this signature in database
GPG key ID: 6ACC2847315F8810

View file

@ -404,12 +404,9 @@ async function wranglerCommands(
// Check if this command is a workers deployment // Check if this command is a workers deployment
if (command.startsWith("deploy") || command.startsWith("publish")) { if (command.startsWith("deploy") || command.startsWith("publish")) {
const { deploymentUrl, aliasUrl } = const { deploymentUrl } =
extractDeploymentUrlsFromStdout(stdOut); extractDeploymentUrlsFromStdout(stdOut);
setOutput("deployment-url", deploymentUrl); setOutput("deployment-url", deploymentUrl);
// DEPRECATED: deployment-alias-url in favour of pages-deployment-alias, drop in next wrangler-action major version change
setOutput("deployment-alias-url", aliasUrl);
setOutput("pages-deployment-alias-url", aliasUrl);
} }
// Check if this command is a pages deployment // Check if this command is a pages deployment
if ( if (