From 4fb669aba7fe982a4ac0258ccdf23b55cc999614 Mon Sep 17 00:00:00 2001 From: Erik Brown <57164699+Erik-Brown01@users.noreply.github.com> Date: Fri, 3 May 2024 12:40:06 -0400 Subject: [PATCH] Update update_legislative_support.yml --- .github/workflows/update_legislative_support.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_legislative_support.yml b/.github/workflows/update_legislative_support.yml index 486b443..8972b5e 100644 --- a/.github/workflows/update_legislative_support.yml +++ b/.github/workflows/update_legislative_support.yml @@ -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 @@ -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