Skip to content

Generated deploy preview url mismatches with netlify preview url #14

@vickywane

Description

@vickywane

Hello,

I am currently using the wait-for-netlify-action within a Github actions CI to generate the deploy preview URL of a relatively new project ( 3 merged PRs ) after which tests are run against the deployed preview.

Expected Behavior

wait-for-netlify-action should generate the URL of the preview deployed from the pull request after the deployed preview returns a 200 status code.

Current Behavior

wait-for-netlify-action is generating a preview URL that mismatches with the netlify preview deploy URL. The pull request number appears to be what breaks the generated URL.

I.e wait-for-netlify-action generates 9 as the pull request number, however, the pull request number on Netlify is 4. This leads to the Url unavailable, retrying error and eventually a timeout error.

The affected repository can be found here.

See attached screenshot.
preview-url-unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions