From 22436abc20179c101902adc7bc8984fb642c27ba Mon Sep 17 00:00:00 2001 From: shadi fakhri <113238379+Shadi38@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:22:39 +0000 Subject: [PATCH] changed 600 to 400 key.pem in yml file --- .github/workflows/server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 558d9c1c57..00326ce07a 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -42,7 +42,7 @@ jobs: - name: Set permissions for private key run: | echo "${{ env.EC2_SSH_KEY }}" > key.pem - chmod 600 key.pem + chmod 400 key.pem - name: Pull Docker image run: | ssh -o StrictHostKeyChecking=no -i key.pem ubuntu@ec2-13-49-244-227.eu-north-1.compute.amazonaws.com 'sudo docker pull shadi38/node-app:4.0'