Skip to content

Commit

Permalink
Fix GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
natecohen committed Nov 16, 2024
1 parent f4cdb04 commit 9e58249
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/update-and-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# Run the update script
- name: Run update script
run: python script.py
run: python main.py

# Check if there are any updates
- name: Check for updates
id: check_updates
run: |
Expand All @@ -29,7 +26,6 @@ jobs:
else
echo "updates_found=false" >> $GITHUB_ENV
# Commit and push changes if updates are found
- name: Commit and push changes
if: env.updates_found == 'true'
run: |
Expand Down

0 comments on commit 9e58249

Please sign in to comment.