Skip to content

Commit

Permalink
chore(cd): The change deployment conditions in the deploy.yml github …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
alepefe committed Dec 17, 2024
1 parent 8782aeb commit 58a6a87
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,11 @@ jobs:
needs: [ set_environment_name, build_client, build_api, build_backoffice]
# We need this in order to run the deployment job if none of the builds fails and at least one of them is successful
if: >
!failure() &&
(
needs.build_client.result != 'failure' &&
needs.build_api.result != 'failure' &&
needs.build_backoffice.result != 'failure'
) &&
(
(needs.build_client.result == 'success') ||
(needs.build_api.result == 'success') ||
(needs.build_backoffice == 'success')
needs.build_client.result == 'success' ||
needs.build_api.result == 'success' ||
needs.build_backoffice.result == 'success'
)
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit 58a6a87

Please sign in to comment.