gate the argo tep on docker finishing
All checks were successful
Build and push / detect-changed-files (push) Successful in 4s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped

This commit is contained in:
Luke Robles 2024-05-03 10:59:09 -07:00
parent 3612fc3e2b
commit 0f63c6899c

View File

@ -44,7 +44,7 @@ jobs:
Build-and-Push-Docker:
needs: detect-changed-files
if: (${{ needs.detect-changed-files.outputs.python_files == 'true' }} && steps.Lint-Python.outcome == 'success')
if: ${{ (needs.detect-changed-files.outputs.python_files == 'true') && (steps.Lint-Python.outcome == 'success') }}
steps:
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
@ -68,7 +68,7 @@ jobs:
sync-argocd-app:
needs: [detect-changed-files, Build-and-Push-Docker]
if: (${{ needs.detect-changed-files.outputs.python_files == 'true' }} && steps.Build-and-Push-Docker.outcome == 'success')
if: ${{ (needs.detect-changed-files.outputs.python_files == 'true') && (steps.Build-and-Push-Docker.outcome == 'success') }}
steps:
- name: Sync app in ArgoCD
uses: clowdhaus/argo-cd-action/@main