File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3939 TEMPS_DATA_DIR : /tmp/temps-data
4040 ADMIN_EMAIL : admin@localho.st
4141 ADMIN_PASSWORD : E2eTestPass123!
42- API_BASE : http://localhost:8081/api
42+ API_BASE : http://localhost:8081
4343
4444 steps :
4545 - name : Free up disk space
@@ -285,8 +285,8 @@ jobs:
285285 # --- Get production environment ID ---
286286 ENV_RESPONSE=$(curl -s \
287287 -H "Authorization: Bearer $API_KEY" \
288- "$API_BASE/projects/$PROJECT_ID")
289- ENV_ID=$(echo "$ENV_RESPONSE" | jq -r '.environments[0].id // empty')
288+ "$API_BASE/projects/$PROJECT_ID/environments ")
289+ ENV_ID=$(echo "$ENV_RESPONSE" | jq -r '.[0].id // . environments[0].id // empty')
290290
291291 if [ -z "$ENV_ID" ]; then
292292 echo "FAIL: Could not find environment for project $PROJECT_ID"
You can’t perform that action at this time.
0 commit comments