Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Nov 29, 2023
1 parent 8276557 commit 375b83f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
- name: Deploy to EC2
run: |
for INSTANCE_ID in $INSTANCE_ID_STRING; do
echo $INSTANCE_IP
INSTANCE_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query "Reservations[0].Instances[0].PublicIpAddress" --output json)
echo "$AWS_EC2_SSH_KEY" > key.pem # Save the private key to a file
chmod 600 key.pem # Set proper permissions
Expand Down

0 comments on commit 375b83f

Please sign in to comment.