Skip to content

Get Deployment URL

Actions
Get the URL of the last deployment on a given branch
v1.0.7
Latest
Star (11)

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

Get Deployment URL is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Get the URL of the last deployment on a given branch
v1.0.7
Latest

Get Deployment URL is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.