diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index fb9ac652..e60d2b7c 100755 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -44,7 +44,7 @@ jobs: Build-and-Push-Docker: needs: detect-changed-files - if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }} + 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' }} + 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