This action wait for a branch to be deployed, and outputs the deployment URL.
Required A GitHub access token to query the GraphQL API.
Time to wait (in ms) between attempts to fetch deployment URL. defaults to 10000.
The deployment URL, if one is found.
- name: Get deployment URL
id: deployment
uses: dorshinar/get-deployment-url@master
timeout-minutes: 5
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run end-to-end tests
run: npm run test:e2e
env:
deployment: ${{ steps.deployment.outputs.deployment }}