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

Check if PR is still open before deploying preview #36

Open
thomastvedt opened this issue Jun 1, 2021 · 0 comments
Open

Check if PR is still open before deploying preview #36

thomastvedt opened this issue Jun 1, 2021 · 0 comments
Assignees

Comments

@thomastvedt
Copy link
Contributor

Scenario:

  1. a long-running preview build starts
  2. PR is closed, preview is removed (fast, 12 seconds)
  3. long-running preview build deploys a new preview.

We should add a test right before we deploy our preview if PR is still open. We can't use context variables, but can use github API?

@thomastvedt thomastvedt self-assigned this Jun 1, 2021
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

No branches or pull requests

1 participant