From 160e02a895f67c196dfa1a5c78ab4bcd6a3b9711 Mon Sep 17 00:00:00 2001 From: Afsha10 Date: Fri, 16 Feb 2024 18:28:03 +0000 Subject: [PATCH] Set EC2 workflow to use the AWS endpoint --- .github/workflows/backend-ec2-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-ec2-deploy.yml b/.github/workflows/backend-ec2-deploy.yml index 881dd28f24..56856075de 100644 --- a/.github/workflows/backend-ec2-deploy.yml +++ b/.github/workflows/backend-ec2-deploy.yml @@ -29,5 +29,5 @@ jobs: git pull cd server npm install - pm2 restart server.js + NODE_ENV=aws pm2 restart server.js EOF