Skip to content

Commit

Permalink
Fix workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-2023 committed Apr 21, 2024
1 parent 5514c8a commit b3b00eb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/repo_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
# Add the repodata.txt file
git add slater/db/repodata.txt
# Commit the changes
git commit -m "Update repodata.txt"
# Push the changes to the repository
git push origin main
if [[ -n "$(git diff --staged)" ]]; then
# Commit the changes
git commit -m "Update repodata.txt"
# Push the changes to the repository
git push origin main
fi

0 comments on commit b3b00eb

Please sign in to comment.