Skip to content
check

GitHub Action

Nomad Deploy Result

v1 Latest version

Nomad Deploy Result

check

Nomad Deploy Result

Handle with nomad deployment result

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Nomad Deploy Result

uses: let-sh/nomad-deploy-result-action@v1

Learn more about this action in let-sh/nomad-deploy-result-action

Choose a version

Nomad deploy result action

This action waiting for nomad deployment result. Sucess to continue, Failed to stop.

Inputs

input required default sample description
nomad-addr "http://localhost:4646" "http://localhost:4646" Nomad endpoint address
nomad-token "" "F5476034-7A75-4A27-BA45-65B0F7B291B9" Nomad token to access endpoint
nomad-job-name "" "nginx" Nomad job to inspect
nomad-namespace "default" "default" Nomad namespace

Outputs

output sample description
result "succesful" job deployment status result

Example usage

- name: Check deployment result
  uses: let-sh/nomad-deploy-result-action@v1
  with:
    nomad-addr: ${{ secrets.NOMAD_ADDR }}
    nomad-token: ${{ secrets.NOMAD_TOKEN }}
    nomad-job-name: ${{ secrets.NOMAD_JOB }}
    nomad-namespace: ${{ secrets.NOMAD_NAMESPACE }}