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

dorshinar/get-deployment-url

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

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

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •