From 360ab82c51beefec89667f8fa3dff8bbb9cbc738 Mon Sep 17 00:00:00 2001 From: Nikhil Ramchandani Date: Tue, 28 May 2024 17:38:23 -0400 Subject: [PATCH] check if success step --- .github/workflows/productionworkflow.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/productionworkflow.yaml b/.github/workflows/productionworkflow.yaml index 9bb498c..0e410ec 100644 --- a/.github/workflows/productionworkflow.yaml +++ b/.github/workflows/productionworkflow.yaml @@ -33,5 +33,10 @@ jobs: credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} - name: Run deployment + id: deployment run: | - python ./se_ml_production/ML_backend_GKE/ML_GKE/ML_Service_GKE/main.py \ No newline at end of file + python ./se_ml_production/ML_backend_GKE/ML_GKE/ML_Service_GKE/main.py + + - name: Check deployment status + if: ${{ steps.deployment.outcome == 'success' }} + run: exit 0 \ No newline at end of file