Skip to content

Commit

Permalink
Update update_legislative_support.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Brown01 authored May 3, 2024
1 parent 50f6c7b commit 4fb669a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_legislative_support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
with:
python-version: '3.x' # Specify the Python version if needed

- name: Install dependencies
- name: Install dependencies and pull repo
run: |
pip install -r requirements.txt # If you have dependencies
git pull
- name: Run legislative_support_generator.py
run: python scripts/legislative_support_generator.py
Expand All @@ -38,7 +39,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 pull
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

0 comments on commit 4fb669a

Please sign in to comment.