You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Vercel Wait for Deployment
v1.1.6
Github action to wait for Vercel's GitHub integration automated deploys to be ready which enables triggering any dependent workflows.
on:
push:
branches:
- main
...
steps:
- name: Wait for vercel deployment (push)
uses: tj-actions/vercel-wait@v1
with:
project-id: test
token: test-token
sha: ${{ github.sha }}
on:
pull_request:
branches:
- main
...
steps:
- name: Wait for vercel deployment (push)
uses: tj-actions/vercel-wait@v1
with:
project-id: test
token: test-token
sha: ${{ github.event.pull_request.head.sha }}
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
delay | string | false | "5" |
Delay in seconds |
project-id | string | true | Vercel project id can be obtained fromhttps://vercel.com/<team>/<project>/settings |
|
sha | string | true | The commit sha to wait for | |
team-id | string | false | Vercel team id can be obtained fromhttps://vercel.com/teams/<team>/settings |
|
timeout | string | false | "600" |
Timeout in seconds |
token | string | true | Vercel token can be obtained from https://vercel.com/account/tokens |
OUTPUT | TYPE | DESCRIPTION |
---|---|---|
deployment-alias-error | string | The deployment alias error |
deployment-id | string | The deployment id |
deployment-state | string | The deployment state |
deployment-url | string | The deployment url |
- Free software: MIT license
If you feel generous and want to show some extra appreciation:
This package was created with Cookiecutter using cookiecutter-action
Report bugs at https://github.com/tj-actions/vercel-wait/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your workflow that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.