Skip to content

Commit

Permalink
chore(cd): Adjust deployment rules for target environments (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
alepefe committed Dec 11, 2024
1 parent 24ca641 commit 37a0ce8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
build_client:
needs: [ set_environment, trigger_build ]
needs: [ set_environment_name, trigger_build ]
if: ${{ github.event_name == 'workflow_dispatch' || needs.trigger_build.outputs.build_client == 'true' }}
environment:
name: ${{ needs.set_environment_name.outputs.env_name }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
${{ steps.login-ecr.outputs.registry }}/${{ secrets.CLIENT_REPOSITORY_NAME }}:${{ needs.set_environment_name.outputs.env_name }}
build_api:
needs: [ set_environment, trigger_build ]
needs: [ set_environment_name, trigger_build ]
if: ${{ github.event_name == 'workflow_dispatch' || needs.trigger_build.outputs.build_api == 'true' }}
environment:
name: ${{ needs.set_environment_name.outputs.env_name }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
${{ steps.login-ecr.outputs.registry }}/${{ secrets.API_REPOSITORY_NAME }}:${{ needs.set_environment_name.outputs.env_name }}
build_backoffice:
needs: [ set_environment, trigger_build ]
needs: [ set_environment_name, trigger_build ]
if: ${{ github.event_name == 'workflow_dispatch' || needs.trigger_build.outputs.build_backoffice == 'true' }}
environment:
name: ${{ needs.set_environment_name.outputs.env_name }}
Expand Down

0 comments on commit 37a0ce8

Please sign in to comment.