@@ -108,6 +108,8 @@ jobs:
108108 echo "Deployment initiated successfully."
109109
110110 - name : Configure AWS credentials (FCBH)
111+ if : false # Temporarily disabled - remove this line to re-enable
112+ # if: ${{ steps.branch.outputs.EcsCluster == 'scriptoria-prd' }} # Restore this when re-enabling
111113 id : aws_fcbh
112114 uses : aws-actions/configure-aws-credentials@v4
113115 with :
@@ -116,12 +118,16 @@ jobs:
116118 aws-region : ${{ secrets.FCBH__AWS_DEFAULT_REGION }}
117119
118120 - name : Login to AWS ECR (FCBH)
121+ if : false # Temporarily disabled - remove this line to re-enable
122+ # if: ${{ steps.branch.outputs.EcsCluster == 'scriptoria-prd' }} # Restore this when re-enabling
119123 id : ecr_fcbh
120124 uses : aws-actions/amazon-ecr-login@v2
121125 with :
122126 registries : ${{ secrets.FCBH__AWS_ECR_ACCOUNT }}
123127
124128 - name : Push to AWS ECR (FCBH)
129+ if : false # Temporarily disabled - remove this line to re-enable
130+ # if: ${{ steps.branch.outputs.EcsCluster == 'scriptoria-prd' }} # Restore this when re-enabling
125131 run : |
126132 docker tag ${{ env.BUILD_TAG }} "${{ steps.ecr_fcbh.outputs.registry }}/appbuilder-buildengine-api:${{ steps.branch.outputs.DockerTag }}"
127133 docker tag ${{ env.BUILD_TAG }} "${{ steps.ecr_fcbh.outputs.registry }}/appbuilder-buildengine-api:${{ env.BUILD_NUMBER }}"
@@ -138,6 +144,7 @@ jobs:
138144 echo "Deployment initiated successfully."
139145
140146 - name : Configure AWS credentials (LU)
147+ if : ${{ steps.branch.outputs.EcsCluster == 'scriptoria-stg' }}
141148 id : aws_lu
142149 uses : aws-actions/configure-aws-credentials@v4
143150 with :
0 commit comments