All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m1s
24 lines
534 B
YAML
24 lines
534 B
YAML
name: Deploy to Nomad
|
|
|
|
on:
|
|
workflow_run:
|
|
workflow_dispatch:
|
|
workflows: ["container-build"] # Name of your build workflow
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Deploy with Nomad
|
|
uses: qazz92/nomad-deploy@v1
|
|
with:
|
|
address: http://nomad.service.dc1.consul:4646
|
|
job: fitbit-garmin-sync.nomad
|