From 797db800e9db21c63e1c4dd7590992261fe306f7 Mon Sep 17 00:00:00 2001 From: skyprince999 Date: Wed, 6 Dec 2023 12:38:21 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 928ccd3..4ca799e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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