sync
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m1s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m1s
This commit is contained in:
22
.github/workflows/nomad-deploy.yml
vendored
Normal file
22
.github/workflows/nomad-deploy.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Deploy to Nomad
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["build-container"] # 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
|
||||
Reference in New Issue
Block a user