Skip to content

Commit

Permalink
use id
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranayub committed Jul 6, 2020
1 parent ff96d0f commit 2751936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const run = async () => {
//
// This could be enhanced to wait for the deployment status
// and then wait once again for the URL to return 200.
const url = `https://${commitDeployment.build_id}--${siteName}.netlify.app`;
const url = `https://${commitDeployment.id}--${siteName}.netlify.app`;
core.setOutput("url", url);
console.log(`Waiting for a 200 from: ${url}`);
await waitForUrl(url, MAX_TIMEOUT);
Expand Down

0 comments on commit 2751936

Please sign in to comment.