GitHub Action
Wait For GitHub Deployment
v1.0.0
Latest version
Wait for a GitHub deployment to complete and get its url on push and pull request. Only for Vercel based website. It's gonna by default take the Preview
deployment when it's a pull request and the Production
deployment when it's a push.
Required This is your GitHub personal access token. Accessible via ${{ github.token }}
or ${{ secrets.GITHUB_TOKEN }}
.
Maximum time in seconds to wait for the deployment. Default 120
seconds.
The target URL of the deployment.
name: Test Workflow
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: wbeuil/[email protected]
id: deployment
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: echo "Deployed to ${{ steps.deployment.outputs.url }}"