Skip to content

List queued deployments

Actions
Lists all queued deployments of the specified repository
v1.0.3
Latest
Star (2)

Tags

 (1)

List Queued deployments Github Action

This action returns a matrix that contains all deployments of a repository that have the 'queued' status. We use this action to deploy those queued deployments at a scheduled moment.

Inputs

repository

Required Repository for which to list the queued deployments.

Token

Required Github token used to access the REST API to fetch the deployments.

Outputs

deployments

Matrix containing the following keys (with example data):

{
    "environment": "production",
    "deployment_id": 1234,
    "deployment_url": "/repos/pivvenit/list-queued-deployments-action/deployments/1234/statuses",
    "status": "queued",
    "ref": "deployment ref here",
    "deployment": {/* Raw deployment response from the Github Rest API */},
    "deployment_status": { /* The first status from the deployment_status response from the Github Rest API */}
}

Example usage

uses: pivvenit/list-queued-deployments-action
with:
  token: "${{ github.token }}"
  repository: "${{ github.repository }}"

List queued deployments 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

Lists all queued deployments of the specified repository
v1.0.3
Latest

Tags

 (1)

List queued deployments 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.