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