Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skyprince999 authored Dec 6, 2023
1 parent b07032e commit 65bdea6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ jobs:
git config --local user.name "GitHub Actions"
git add data/UNTrendyBodyAndRegionalOnes.json
git commit -m "Updated UN Bodies data"
if [[ `git status --porcelain` ]]; then
git push origin main
echo "INFO: File updated"
else
echo "INFO: No changes detected"
fi
git add data/countries_small_updated_Aug2023.geojson
git commit -m "Updated countries data"
if [[ `git status --porcelain` ]]; then
git push origin main
echo "INFO: File updated"
Expand Down

0 comments on commit 65bdea6

Please sign in to comment.