Skip to content

Commit

Permalink
chore: Update build-product.yml workflow to check if app is deployed …
Browse files Browse the repository at this point in the history
…by ArgoCD
  • Loading branch information
dv-hossam-radwan committed May 17, 2024
1 parent 6ae0bf3 commit 25b98f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
- name: Check if app deployed by ArgoCD
id: argocd-deployed-app
run: |
pwd
result=$(jq '.apps | index("${{ steps.get-parameters.outputs.app }}") != null' ./.github/argocd-deployed-apps.json)
if [ "$result" = "true" ]; then
echo "ARGOCD_DEPLOYED_APP=true" >> $GITHUB_ENV
Expand Down

0 comments on commit 25b98f7

Please sign in to comment.