Skip to content

Commit

Permalink
try to get headers with --csv
Browse files Browse the repository at this point in the history
  • Loading branch information
tobijdc committed Feb 6, 2024
1 parent 62ba4ea commit f32c932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/aligulac-import.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Import GuessTheSC2Pro Fixes
run: PGPASSWORD=postgres psql -h localhost -p 5432 -d postgres -U postgres -f db_import/data-fixup.sql
- name: Export player data
run: PGPASSWORD=postgres psql -h localhost -p 5432 -d postgres -U postgres -t -A -F"," -f db_import/top500-earnings.sql > result.csv
run: PGPASSWORD=postgres psql -h localhost -p 5432 -d postgres -U postgres -t --csv -f db_import/top500-earnings.sql > result.csv
- name: Display CSV
run: cat result.csv
- name: Convert to JSON
Expand Down

0 comments on commit f32c932

Please sign in to comment.