From 9c274fe5fdd740d5e5b9739a67020e5bf06c5d11 Mon Sep 17 00:00:00 2001 From: Janith Rathnayaka Date: Fri, 27 Dec 2024 09:13:33 +0530 Subject: [PATCH 1/2] update email format --- libs/email/src/lib/email.service.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/email/src/lib/email.service.ts b/libs/email/src/lib/email.service.ts index fc5ab12f..7326379e 100644 --- a/libs/email/src/lib/email.service.ts +++ b/libs/email/src/lib/email.service.ts @@ -521,7 +521,7 @@ export class EmailService { style="padding-bottom: 24px" > @@ -1121,7 +1121,7 @@ export class EmailService { style="padding-bottom: 24px" > From 2ffc2f29a1945f1f0b5eacd4fe599ae208a3d315 Mon Sep 17 00:00:00 2001 From: palindaa Date: Wed, 22 Jan 2025 13:34:39 +0000 Subject: [PATCH 2/2] Update CICD --- .github/workflows/deployment-main.yml | 38 ++++++++++----------------- 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/.github/workflows/deployment-main.yml b/.github/workflows/deployment-main.yml index 17b5cb55..92bdfd99 100644 --- a/.github/workflows/deployment-main.yml +++ b/.github/workflows/deployment-main.yml @@ -4,19 +4,9 @@ on: push: branches: - main - -# on: -# workflow_dispatch: -# inputs: -# cluster_type: -# description: 'Enter the cluster type (bd,sl and etc)' -# required: true -# commit_sha: -# description: 'Commit SHA to check for changes' -# required: true + workflow_dispatch: env: - CONTAINER_NAME_API: api-container CONTAINER_NAME_TRIAGE: triage-container CONTAINER_NAME_PUBLISHER: publisher-container @@ -118,19 +108,19 @@ jobs: run: | npm install - - name: Build, tag, and push the api image to Amazon - # if: steps.api-changes.outputs.api-changes == 'true' - id: build-image-api - env: - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: iverify-api - IMAGE_TAG: latest - run: | - npx nx build api - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./apps/api/Dockerfile . - echo "Pushing image to ECR..." - docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" + # - name: Build, tag, and push the api image to Amazon + # # if: steps.api-changes.outputs.api-changes == 'true' + # id: build-image-api + # env: + # ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} + # ECR_REPOSITORY: iverify-api + # IMAGE_TAG: latest + # run: | + # npx nx build api + # docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./apps/api/Dockerfile . + # echo "Pushing image to ECR..." + # docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG + # echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" - name: Build, tag, and push the publisher image to Amazon # if: steps.publisher-changes.outputs.publisher-changes == 'true'