diff --git a/.github/workflows/backend-ec2-deploy.yml b/.github/workflows/backend-ec2-deploy.yml index 3dee89b260..df1a1469e6 100644 --- a/.github/workflows/backend-ec2-deploy.yml +++ b/.github/workflows/backend-ec2-deploy.yml @@ -23,11 +23,11 @@ jobs: - name: Connect to EC2 run: | - chmod 400 videoStorage.pem + chmod 400 terraform-week-pem-file.pem echo "${{ vars.SSH_USERNAME }}@${{ vars.EC2_HOST }}" cat terraform-week-pem-file.pem ssh -i terraform-week-pem-file.pem -o StrictHostKeyChecking=no "${{ vars.SSH_USERNAME }}@${{ vars.EC2_HOST }}" << EOF - cd video-storage-app + cd terraform-VideoStorage-app git pull cd server npm install diff --git a/server/server.js b/server/server.js index af82c96c8e..3a182d379e 100644 --- a/server/server.js +++ b/server/server.js @@ -26,7 +26,7 @@ const db = new Pool({ // GET "/" app.get("/", (req, res) => { - res.status(200).json("Hello World!! I'm testing my back-end server!:)))"); + res.status(200).json("Hello World!! I'm testing my back-end server!:))"); }); // Connecting to database