mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-21 17:43:23 +01:00
Update src/index.ts
Co-authored-by: Cina Saffary <itscina@gmail.com>
This commit is contained in:
parent
9dd38ad790
commit
a5f361f3f0
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ async function wranglerCommands() {
|
||||||
) {
|
) {
|
||||||
// If this is a workers or pages deployment, try to extract the deployment URL
|
// If this is a workers or pages deployment, try to extract the deployment URL
|
||||||
let deploymentUrl = "";
|
let deploymentUrl = "";
|
||||||
const deploymentUrlMatch = stdOut.match(/https?:\/\/[a-zA-Z0-9-\.\/]+/);
|
const deploymentUrlMatch = stdOut.match(/https?:\/\/[a-zA-Z0-9-./]+/);
|
||||||
if (deploymentUrlMatch && deploymentUrlMatch[0]) {
|
if (deploymentUrlMatch && deploymentUrlMatch[0]) {
|
||||||
deploymentUrl = deploymentUrlMatch[0].trim();
|
deploymentUrl = deploymentUrlMatch[0].trim();
|
||||||
setOutput("deployment-url", deploymentUrl);
|
setOutput("deployment-url", deploymentUrl);
|
||||||
|
|
Loading…
Reference in a new issue