From 47bec800f3fb5b3ff041401290b864352cdca346 Mon Sep 17 00:00:00 2001 From: sina <20732540+SinaKhalili@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:24:58 -0700 Subject: [PATCH] Update env to use github environment --- .github/workflows/master.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 015c194..1a0ea60 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -4,9 +4,9 @@ on: branches: [master, sina/risk-dashboard-monorepo-update] # Temporarily allow this branch run the workflow env: - ECR_REPO_URI: 875427118836.dkr.ecr.eu-west-1.amazonaws.com/v2-risk-dashboard - EKS_CLUSTER_NAME: drift-prod-cluster - K8S_ADMIN_ROLE_ARN: arn:aws:iam::875427118836:role/k8sAdmin + ECR_REPO_URI: ${{ secrets.ECR_REPO_URI }} + EKS_CLUSTER_NAME: ${{ secrets.EKS_CLUSTER_NAME }} + K8S_ADMIN_ROLE_ARN: ${{ secrets.K8S_ADMIN_ROLE_ARN }} jobs: build-frontend: