Skip to content

Commit 2d427a6

Browse files
committed
Update dashboard.yml
1 parent 16cb667 commit 2d427a6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/dashboard.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ jobs:
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)"
@@ -53,6 +68,14 @@ jobs:
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

0 commit comments

Comments
 (0)