Skip to content

Commit 4b7c802

Browse files
authored
Update debug.yml to modify API endpoint and logging
1 parent 90e64e4 commit 4b7c802

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/debug.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,16 @@ jobs:
8686
8787
# Example: Testing package_list endpoint (adjust URL as needed)
8888
curl -H "Authorization: ${CKAN_API_KEY}" \
89-
https://ecosystem.ckan.org/api/3/action/package_list
89+
https://ecosystem.ckan.org/api/3/action/status_show
9090
9191
echo "Note: Add your CKAN instance URL above to test connectivity"
9292
93-
- name: Run Step 1 with verbose logging
93+
- name: Run Step 1 with logging
9494
run: |
95-
echo "=== STEP 1: Extracting GitHub URLs from CKAN (VERBOSE MODE) ==="
95+
echo "=== STEP 1: Extracting GitHub URLs from CKAN ==="
9696
cd extensions-workflow
9797
98-
# Run with Python verbose mode and unbuffered output
99-
python -u -v 1getURL.py 2>&1 | tee step1_output.log
98+
python 1getURL.py 2>&1 | tee step1_output.log
10099
101100
EXIT_CODE=${PIPESTATUS[0]}
102101
echo "Exit code: $EXIT_CODE"
@@ -105,7 +104,6 @@ jobs:
105104
echo "✗ Script failed with exit code $EXIT_CODE"
106105
exit $EXIT_CODE
107106
fi
108-
109107
- name: Check output file
110108
if: always()
111109
run: |

0 commit comments

Comments
 (0)