Skip to content

qazz92/nomad-deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Runs "nomad job run ..." in a github action

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 82.9%
  • Shell 17.1%