Skip to content

Deploy Status

Actions
GitHub Action to report deployment status
v1
Latest
Star (14)

Deploy Status

GitHub Action to create GitHub Deployment, see https://developer.github.com/v3/repos/deployments

environment

Inputs

token

string

Required. GitHub token

"queued" | "pending" | "in_progress" | "error" | "failure" | "success"

Required. Status of deploy

description

string

A short description of the status. The maximum description length is 140 characters

environment

string, default: live

Name for the target deployment environment. For example, "production", "release", or "qa"'

environment_url

string

Sets the URL for accessing your environment

Usage Example

name: Delivery
on:
  push:
    branches:
      - master
jobs:
  deploy:
    name: Deploy
    steps:
      - uses: actions/checkout@v4
      - run: # your delivery scripts
      - name: Success
        if: success()
        uses: zattoo/deploy-status@v1
        with:
          token: ${{ github.token }}
          environment: live
          environment_url: https://example.com
          state: success
      - name: Failure
        if: failure()
        uses: zattoo/deploy-status@v1
        with:
          token: ${{ github.token }}
          environment: live
          state: failure

Deploy Status 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

GitHub Action to report deployment status
v1
Latest

Deploy Status 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.