From 34e4f6bd6c593772eafdb98bc24545fba33bd214 Mon Sep 17 00:00:00 2001 From: kristina_dudnyk Date: Sat, 2 Mar 2024 14:47:37 +0000 Subject: [PATCH] change region for ec2 08 --- .github/workflows/backEnd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backEnd.yml b/.github/workflows/backEnd.yml index 7f636d4c40..ef19a5dd76 100644 --- a/.github/workflows/backEnd.yml +++ b/.github/workflows/backEnd.yml @@ -21,9 +21,10 @@ jobs: - name: Install dependencies and build run: | echo ${{secrets.AWS_PEM}} > private_key && chmod 600 private_key - ssh -o StrictHostKeyChecking=no -i private_key "${{secrets.AWS_HOST_NAME}}@${{secrets.AWS_HOST}}" + ssh -o StrictHostKeyChecking=no -i private_key ${{secrets.AWS_HOST_NAME}}@${{secrets.AWS_HOST}} ' cd Full-Stack-Project-Assessment git pull cd server npm install pm2 restart server.js + '