Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

Nomad Deploy

0.0.5

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@0.0.5

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