File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,17 @@ jobs:
63
63
-var "stage=${{ github.event.inputs.stage }}"
64
64
65
65
# ✅ Get EC2 IPs & S3 Bucket
66
- - name : Get EC2 Public IP & S3 Bucket Name
67
- working-directory : ${{ env.TF_WORKING_DIR }}
66
+ - name : Get EC2s Public IPs & S3 Bucket Name
68
67
run : |
69
- APP_IP =$(terraform output -raw instance_public_ip | grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' | head -n1)
70
- VERIFIER_IP=$(terraform output -raw verifier_instance_public_ip | grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' | head -n1)
71
- S3_BUCKET=$(terraform output -raw s3_log_bucket | grep -oE 'techeazy-logs-[^[:space:]]+' | head -n1)
68
+ echo "INSTANCE_IP =$(terraform output -raw instance_public_ip)" >> $GITHUB_ENV
69
+ echo " VERIFIER_IP=$(terraform output -raw verifier_instance_public_ip)" >> $GITHUB_ENV
70
+ echo " S3_BUCKET=$(terraform output -raw s3_log_bucket)" >> $GITHUB_ENV
72
71
73
- echo "📦 App IP: $APP_IP "
72
+ echo "📦 App IP: $INSTANCE_IP "
74
73
echo "🔑 Verifier IP: $VERIFIER_IP"
75
74
echo "🪣 S3 Bucket: $S3_BUCKET"
76
75
76
+
77
77
# ✅ Wait for App Initialization
78
78
- name : Wait for App Initialization
79
79
run : |
You can’t perform that action at this time.
0 commit comments