Skip to content

Commit

Permalink
check if success step
Browse files Browse the repository at this point in the history
  • Loading branch information
nmr2701 committed May 28, 2024
1 parent ad2534c commit 360ab82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/productionworkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 360ab82

Please sign in to comment.