Skip to content

Commit

Permalink
Status (#223)
Browse files Browse the repository at this point in the history
* test: return mock

* feat: poll status

* chore: build

* chore: test preview deployment urls

* Revert "chore: test preview deployment urls"

This reverts commit ed7473a.

* refactor: status check

* chore: changeset

* chore: build
  • Loading branch information
andykenward authored Feb 17, 2024
1 parent 4a1989e commit e4ea179
Show file tree
Hide file tree
Showing 8 changed files with 926 additions and 156 deletions.
7 changes: 7 additions & 0 deletions .changeset/sour-fans-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"github-actions-cloudflare-pages": minor
---

Now polls the Cloudflare Pages API deployments endpoint every 1 second for the current status of the matching commit hash, if the status is not "idle" it will stop polling and continue the action. This fixes the issue #222 , where the PR comment would have the wrong preview URL.

CLOSES #222
Loading

0 comments on commit e4ea179

Please sign in to comment.