Skip to content

Commit

Permalink
updated legislative votes path
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Brown01 committed Nov 22, 2023
1 parent 36361b6 commit a0394d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update_legislative_support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
# Git commands to add, commit, and push
git add 'public/assembly.geo.json' 'public/senate.geo.json' "public/legislation_votes.json"
git add 'public/assembly.geo.json' 'public/senate.geo.json' "public/legislations_votes.json"
git commit -m "Update legislative support jsons" || echo "No changes to commit"
git push
2 changes: 1 addition & 1 deletion scripts/legislation_votes_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def create_summary_data(counts, house):
final_summary_data = summary_data_senate + summary_data_assembly

# Path for the new JSON file
output_file_path_dynamic = "public/legislation_votes.json"
output_file_path_dynamic = "public/legislations_votes.json"

# Writing the data to a new JSON file
with open(output_file_path_dynamic, 'w') as file:
Expand Down

0 comments on commit a0394d9

Please sign in to comment.