File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2929 FRED_API_KEY : ${{ secrets.FRED_API_KEY }}
3030 run : python content/dashboard/dashboard.py
3131
32+ - name : Debug and Inspect Generated Files on Runner # MODIFIED/ENHANCED STEP
33+ run : |
34+ echo "--- Current Directory ---"
35+ pwd
36+ echo "--- Listing static/dashboard/ ---"
37+ ls -la static/dashboard/
38+ echo "--- Checksum of all files in static/dashboard/ ---"
39+ find static/dashboard -type f -print0 | xargs -0 md5sum || echo "No files to checksum"
40+
41+ echo "--- Last 10 lines of static/dashboard/vacancy_rate.csv on runner ---"
42+ tail -n 10 static/dashboard/vacancy_rate.csv || echo "vacancy_rate.csv not found or empty"
43+
44+ echo "--- Last 10 lines of static/dashboard/unemployment_rate.csv on runner ---"
45+ tail -n 10 static/dashboard/unemployment_rate.csv || echo "unemployment_rate.csv not found or empty"
46+
3247 - name : Debug generated files
3348 run : |
3449 echo "Current directory: $(pwd)"
5368 run : |
5469 git config user.name "github-actions"
5570 git config user.email "github-actions@github.com"
71+
72+ echo "--- Git Status Before Add ---"
73+ git status --porcelain # Shows what Git thinks is changed/untracked before 'add'
74+
5675 git add static/dashboard/*.html static/dashboard/*.csv
76+
77+ echo "--- Git Status After Add ---"
78+ git status --porcelain # Shows what Git has staged for commit
79+
5780 git commit -m "Update dashboard with newly released data [skip ci]" || echo "No changes to commit"
5881 git push
You can’t perform that action at this time.
0 commit comments