roybkker/Vercel Preview URL with Status Polling
Retrieve Vercel preview URL and poll for deployment status until ready
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| vercel_token | Vercel API token | yes | — |
| vercel_team_id | Vercel team ID | no | — |
| vercel_project_id | Vercel project ID | yes | — |
| match_preview_url | Exact string to match the preview URL | no | — |
| max_timeout | Maximum timeout (in seconds) to wait for deployment | no | 300 |
| deployment_ready_states | Comma-separated list of states that are considered ready | no | READY |
| deployment_error_states | Comma-separated list of states that are considered errors | no | ERROR |
| polling_interval | Interval (in seconds) between status checks | no | 5 |
Outputs
| name | description |
|---|---|
| preview_url | The URL of the Vercel preview deployment |
| deployment_state | Current state of the deployment |
| branch_alias | Branch alias URL (if available) |