Skip to content

Commit

Permalink
changed 600 to 400 key.pem in yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadi38 committed Feb 13, 2024
1 parent 668f76b commit 22436ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] 'sudo docker pull shadi38/node-app:4.0'
Expand Down

0 comments on commit 22436ab

Please sign in to comment.