sync
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m59s

This commit is contained in:
2025-12-15 07:03:29 -08:00
parent d6b0e680e1
commit aef6752ff6

View File

@@ -1,16 +1,17 @@
name: Deploy to Nomad name: Deploy to Nomad
on: on:
workflow_dispatch:
workflow_run: workflow_run:
workflows: ["container-build.yml"] # Name of your build workflow workflows: ["Build and Push Docker Image"] # Must match your build workflow name exactly
types: types:
- completed - completed
workflow_dispatch: # Allows manual triggering for testing
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }} # Run if manually triggered OR if the build workflow succeeded
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Checkout code - name: Checkout code