Skip to content

Commit

Permalink
debug: print public ip
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Dec 2, 2024
1 parent 958630b commit e24a666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
--instance-ids ${{ env.INSTANCE_ID }} \
--query 'Reservations[0].Instances[0].PublicIpAddress' --output text)
echo "${PUBLIC_IP}"
echo "PUBLIC_IP=${PUBLIC_IP}" >> $GITHUB_ENV
- name: Execute df Command on EC2
Expand All @@ -57,7 +58,7 @@ jobs:
echo "Running df command on EC2 instance..."
df -h
echo "Command completed."
continue-on-error: true # Allow the workflow to continue even if this step fails
# continue-on-error: true # Allow the workflow to continue even if this step fails

- name: Terminate EC2 Instance
run: |
Expand Down

0 comments on commit e24a666

Please sign in to comment.