Skip to content
upload-cloud

GitHub Action

Nomad Deploy

1.0.1 Latest version

Nomad Deploy

upload-cloud

Nomad Deploy

nomad deploy with levant

Installation

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

              

- name: Nomad Deploy

uses: qazz92/nomad-deploy-action@1.0.1

Learn more about this action in qazz92/nomad-deploy-action

Choose a version

Nomad Deploy

Small GitHub Action that runs nomad job run ... with the Nomad CLI.

Usage

Straightforward checkout then publish

name: Deploy Nomad Job
on: [push]
jobs:
  deploy:
    name: Nomad Deploy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the code
        uses: actions/checkout@v1

      - name: Deploy with Nomad
        uses: qazz92/nomad-deploy
        with:
          token: ${{ secrets.YOUR_NOMAD_SECRET }}
          address: ${{ secrets.YOUR_NOMAD_SERVER }}
          job: path/to/your/nomad/job/file
          config: path/to/your/levant/config/file

Parameters

Todo

  • Verify it works
  • Validation config file & job file