Skip to content

A GitHub actions that allows you to query your latest deployment and run tests against it.

License

Notifications You must be signed in to change notification settings

testdriverai/get-deployment-url

 
 

Repository files navigation

Get deployment URL

This action wait for a branch to be deployed, and outputs the deployment URL.

Inputs

token

Required A GitHub access token to query the GraphQL API.

retryInterval

Time to wait (in ms) between attempts to fetch deployment URL. defaults to 10000.

Outputs

deployment

The deployment URL, if one is found.

Example Usage

- 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 }}

About

A GitHub actions that allows you to query your latest deployment and run tests against it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • Shell 2.4%