Skip to content

Commit

Permalink
ci(task-nr): test condition (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: André Caiado da Silva <[email protected]>
  • Loading branch information
andrecaiado and acaiado authored Mar 8, 2024
1 parent 9d747dc commit a3e9fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
echo "DEPLOY=false" >> "$GITHUB_OUTPUT"
fi
build-and-test:
if: github.event_name != 'release'
# if: github.event_name != 'release'
runs-on: ubuntu-latest
needs: prepare
steps:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [prepare, build-image-push]
if: needs.prepare.outputs.deploy != 'false'
if: needs.prepare.outputs.deploy == 'true'
steps:
- name: Deploy
run: |
Expand Down

0 comments on commit a3e9fe7

Please sign in to comment.