Skip to content

Commit

Permalink
Handle case when no new data is available
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo authored Nov 26, 2024
1 parent cee7176 commit a4e61a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-map-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git config user.email "action@github.com"
git config user.name "GitHub Actions"
git add inst/extdata/map_data.json
git commit -m "Fetch map data"
git diff-index --quiet HEAD || git commit -m "Fetch map data"
git pull --rebase origin main
git push
echo "pushed to github"
Expand Down

0 comments on commit a4e61a9

Please sign in to comment.