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 65bdea6 commit 797db80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
git add data/UNTrendyBodyAndRegionalOnes.json
git commit -m "Updated UN Bodies data"
if [[ `git status --porcelain` ]]; then
git fetch origin master
git push origin main
echo "INFO: File updated"
else
Expand All @@ -44,6 +45,7 @@ jobs:
git add data/countries_small_updated_Aug2023.geojson
git commit -m "Updated countries data"
if [[ `git status --porcelain` ]]; then
git fetch origin master
git push origin main
echo "INFO: File updated"
else
Expand Down

0 comments on commit 797db80

Please sign in to comment.